Interface CfnDeploymentPropsMixin.DeploymentPoliciesProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnDeploymentPropsMixin.DeploymentPoliciesProperty.Jsii$Proxy
- Enclosing class:
CfnDeploymentPropsMixin
@Stability(Stable)
public static interface CfnDeploymentPropsMixin.DeploymentPoliciesProperty
extends software.amazon.jsii.JsiiSerializable
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 software.amazon.awscdk.cfnpropertymixins.services.greengrassv2.*;
DeploymentPoliciesProperty deploymentPoliciesProperty = DeploymentPoliciesProperty.builder()
.componentUpdatePolicy(DeploymentComponentUpdatePolicyProperty.builder()
.action("action")
.timeoutInSeconds(123)
.build())
.configurationValidationPolicy(DeploymentConfigurationValidationPolicyProperty.builder()
.timeoutInSeconds(123)
.build())
.failureHandlingPolicy("failureHandlingPolicy")
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnDeploymentPropsMixin.DeploymentPoliciesPropertystatic final classAn implementation forCfnDeploymentPropsMixin.DeploymentPoliciesProperty -
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getComponentUpdatePolicy
The component update policy for the configuration deployment.This policy defines when it's safe to deploy the configuration to devices.
Returns union: either
IResolvableorCfnDeploymentPropsMixin.DeploymentComponentUpdatePolicyProperty- See Also:
-
getConfigurationValidationPolicy
The configuration validation policy for the configuration deployment.This policy defines how long each component has to validate its configure updates.
Returns union: either
IResolvableorCfnDeploymentPropsMixin.DeploymentConfigurationValidationPolicyProperty- See Also:
-
getFailureHandlingPolicy
The failure handling policy for the configuration deployment. This policy defines what to do if the deployment fails.Default:
ROLLBACK- See Also:
-
builder
-