AWS::GreengrassV2::Deployment DeploymentPolicies
Contains information about policies that define how a deployment updates components and handles failure.
Syntax
To declare this entity in your AWS CloudFormation template, use the following syntax:
JSON
{ "ComponentUpdatePolicy" :
DeploymentComponentUpdatePolicy
, "ConfigurationValidationPolicy" :DeploymentConfigurationValidationPolicy
, "FailureHandlingPolicy" :String
}
YAML
ComponentUpdatePolicy:
DeploymentComponentUpdatePolicy
ConfigurationValidationPolicy:DeploymentConfigurationValidationPolicy
FailureHandlingPolicy:String
Properties
ComponentUpdatePolicy
-
The component update policy for the configuration deployment. This policy defines when it's safe to deploy the configuration to devices.
Required: No
Type: DeploymentComponentUpdatePolicy
Update requires: Replacement
ConfigurationValidationPolicy
-
The configuration validation policy for the configuration deployment. This policy defines how long each component has to validate its configure updates.
Required: No
Type: DeploymentConfigurationValidationPolicy
Update requires: Replacement
FailureHandlingPolicy
-
The failure handling policy for the configuration deployment. This policy defines what to do if the deployment fails.
Default:
ROLLBACK
Required: No
Type: String
Allowed values:
ROLLBACK | DO_NOTHING
Update requires: Replacement