interface DeploymentPoliciesProperty
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.GreengrassV2.CfnDeployment.DeploymentPoliciesProperty |
![]() | software.amazon.awscdk.services.greengrassv2.CfnDeployment.DeploymentPoliciesProperty |
![]() | aws_cdk.aws_greengrassv2.CfnDeployment.DeploymentPoliciesProperty |
![]() | @aws-cdk/aws-greengrassv2 » CfnDeployment » DeploymentPoliciesProperty |
Contains information about policies that define how a deployment updates components and handles failure.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as greengrassv2 from '@aws-cdk/aws-greengrassv2';
const deploymentPoliciesProperty: greengrassv2.CfnDeployment.DeploymentPoliciesProperty = {
componentUpdatePolicy: {
action: 'action',
timeoutInSeconds: 123,
},
configurationValidationPolicy: {
timeoutInSeconds: 123,
},
failureHandlingPolicy: 'failureHandlingPolicy',
};
Properties
Name | Type | Description |
---|---|---|
component | IResolvable | Deployment | The component update policy for the configuration deployment. |
configuration | IResolvable | Deployment | The configuration validation policy for the configuration deployment. |
failure | string | The failure handling policy for the configuration deployment. This policy defines what to do if the deployment fails. |
componentUpdatePolicy?
Type:
IResolvable
|
Deployment
(optional)
The component update policy for the configuration deployment.
This policy defines when it's safe to deploy the configuration to devices.
configurationValidationPolicy?
Type:
IResolvable
|
Deployment
(optional)
The configuration validation policy for the configuration deployment.
This policy defines how long each component has to validate its configure updates.
failureHandlingPolicy?
Type:
string
(optional)
The failure handling policy for the configuration deployment. This policy defines what to do if the deployment fails.
Default: ROLLBACK