GreengrassV2.Deployment
see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-greengrassv2-deployment.html
see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-greengrassv2-deployment-componentconfigurationupdate.html
see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-greengrassv2-deployment-iotjobrateincreasecriteria.html
and io_t_job_abort_criteria = {
failure_type : string;
action : string;
threshold_percentage : float;
min_number_of_executed_things : int;
}
see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-greengrassv2-deployment-iotjobabortcriteria.html
see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-greengrassv2-deployment-systemresourcelimits.html
see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-greengrassv2-deployment-deploymentcomponentupdatepolicy.html
see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-greengrassv2-deployment-deploymentconfigurationvalidationpolicy.html
see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-greengrassv2-deployment-iotjobtimeoutconfig.html
and component_run_with = {
windows_user : string option;
system_resource_limits : system_resource_limits option;
posix_user : string option;
}
see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-greengrassv2-deployment-componentrunwith.html
and deployment_policies = {
component_update_policy : deployment_component_update_policy option;
configuration_validation_policy : deployment_configuration_validation_policy
option;
failure_handling_policy : string option;
}
see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-greengrassv2-deployment-deploymentpolicies.html
and io_t_job_exponential_rollout_rate = {
rate_increase_criteria : io_t_job_rate_increase_criteria;
base_rate_per_minute : int;
increment_factor : float;
}
see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-greengrassv2-deployment-iotjobexponentialrolloutrate.html
see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-greengrassv2-deployment-iotjobabortconfig.html
and component_deployment_specification = {
run_with : component_run_with option;
configuration_update : component_configuration_update option;
component_version : string option;
}
see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-greengrassv2-deployment-componentdeploymentspecification.html
and io_t_job_executions_rollout_config = {
maximum_per_minute : int option;
exponential_rate : io_t_job_exponential_rollout_rate option;
}
see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-greengrassv2-deployment-iotjobexecutionsrolloutconfig.html
and deployment_io_t_job_configuration = {
job_executions_rollout_config : io_t_job_executions_rollout_config option;
timeout_config : io_t_job_timeout_config option;
abort_config : io_t_job_abort_config option;
}
see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-greengrassv2-deployment-deploymentiotjobconfiguration.html
type properties = {
components : component_deployment_specification
Stdlib__Map.Make(Stdlib.String).t
option;
deployment_name : string option;
iot_job_configuration : deployment_io_t_job_configuration option;
deployment_policies : deployment_policies option;
target_arn : string;
parent_target_arn : string option;
}
see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-greengrassv2-deployment.html;
val make_properties :
?components:
component_deployment_specification Stdlib__Map.Make(Stdlib.String).t ->
?deployment_name:string ->
?iot_job_configuration:deployment_io_t_job_configuration ->
?deployment_policies:deployment_policies ->
target_arn:string ->
?parent_target_arn:string ->
?tags:string Stdlib__Map.Make(Stdlib.String).t ->
unit ->
properties
val make_component_configuration_update :
?merge:string ->
?reset:string list ->
unit ->
component_configuration_update
val make_io_t_job_rate_increase_criteria :
?number_of_succeeded_things:int ->
?number_of_notified_things:int ->
unit ->
io_t_job_rate_increase_criteria
val make_io_t_job_abort_criteria :
failure_type:string ->
action:string ->
threshold_percentage:float ->
min_number_of_executed_things:int ->
unit ->
io_t_job_abort_criteria
val make_system_resource_limits :
?memory:int ->
?cpus:float ->
unit ->
system_resource_limits
val make_deployment_component_update_policy :
?action:string ->
?timeout_in_seconds:int ->
unit ->
deployment_component_update_policy
val make_deployment_configuration_validation_policy :
?timeout_in_seconds:int ->
unit ->
deployment_configuration_validation_policy
val make_io_t_job_timeout_config :
?in_progress_timeout_in_minutes:int ->
unit ->
io_t_job_timeout_config
val make_component_run_with :
?windows_user:string ->
?system_resource_limits:system_resource_limits ->
?posix_user:string ->
unit ->
component_run_with
val make_deployment_policies :
?component_update_policy:deployment_component_update_policy ->
?configuration_validation_policy:deployment_configuration_validation_policy ->
?failure_handling_policy:string ->
unit ->
deployment_policies
val make_io_t_job_exponential_rollout_rate :
rate_increase_criteria:io_t_job_rate_increase_criteria ->
base_rate_per_minute:int ->
increment_factor:float ->
unit ->
io_t_job_exponential_rollout_rate
val make_io_t_job_abort_config :
criteria_list:io_t_job_abort_criteria list ->
unit ->
io_t_job_abort_config
val make_component_deployment_specification :
?run_with:component_run_with ->
?configuration_update:component_configuration_update ->
?component_version:string ->
unit ->
component_deployment_specification
val make_io_t_job_executions_rollout_config :
?maximum_per_minute:int ->
?exponential_rate:io_t_job_exponential_rollout_rate ->
unit ->
io_t_job_executions_rollout_config
val make_deployment_io_t_job_configuration :
?job_executions_rollout_config:io_t_job_executions_rollout_config ->
?timeout_config:io_t_job_timeout_config ->
?abort_config:io_t_job_abort_config ->
unit ->
deployment_io_t_job_configuration
val yojson_of_component_configuration_update :
component_configuration_update ->
Yojson.Safe.t
val yojson_of_io_t_job_rate_increase_criteria :
io_t_job_rate_increase_criteria ->
Yojson.Safe.t
val yojson_of_io_t_job_abort_criteria :
io_t_job_abort_criteria ->
Yojson.Safe.t
val yojson_of_system_resource_limits : system_resource_limits -> Yojson.Safe.t
val yojson_of_deployment_component_update_policy :
deployment_component_update_policy ->
Yojson.Safe.t
val yojson_of_deployment_configuration_validation_policy :
deployment_configuration_validation_policy ->
Yojson.Safe.t
val yojson_of_io_t_job_timeout_config :
io_t_job_timeout_config ->
Yojson.Safe.t
val yojson_of_component_run_with : component_run_with -> Yojson.Safe.t
val yojson_of_deployment_policies :
deployment_policies ->
[> `Assoc of (string * Yojson.Safe.t) list ]
val yojson_of_io_t_job_exponential_rollout_rate :
io_t_job_exponential_rollout_rate ->
Yojson.Safe.t
val yojson_of_io_t_job_abort_config : io_t_job_abort_config -> Yojson.Safe.t
val yojson_of_component_deployment_specification :
component_deployment_specification ->
[> `Assoc of (string * Yojson.Safe.t) list ]
val yojson_of_io_t_job_executions_rollout_config :
io_t_job_executions_rollout_config ->
Yojson.Safe.t
val yojson_of_deployment_io_t_job_configuration :
deployment_io_t_job_configuration ->
[> `Assoc of (string * Yojson.Safe.t) list ]
val yojson_of_properties :
properties ->
[> `Assoc of (string * Yojson.Safe.t) list ]
val create_attributes : string -> attributes