Interface CfnStateMachineAlias.DeploymentPreferenceProperty

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
CfnStateMachineAlias.DeploymentPreferenceProperty.Jsii$Proxy
Enclosing class:
CfnStateMachineAlias

@Stability(Stable) public static interface CfnStateMachineAlias.DeploymentPreferenceProperty extends software.amazon.jsii.JsiiSerializable
Enables gradual state machine deployments.

CloudFormation automatically shifts traffic from the version the alias currently points to, to a new state machine version that you specify.

Example:

 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 import software.amazon.awscdk.services.stepfunctions.*;
 DeploymentPreferenceProperty deploymentPreferenceProperty = DeploymentPreferenceProperty.builder()
         .stateMachineVersionArn("stateMachineVersionArn")
         .type("type")
         // the properties below are optional
         .alarms(List.of("alarms"))
         .interval(123)
         .percentage(123)
         .build();
 

See Also: