Class CfnStateMachineAliasProps.Jsii$Proxy
- All Implemented Interfaces:
CfnStateMachineAliasProps,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
CfnStateMachineAliasProps
CfnStateMachineAliasProps-
Nested Class Summary
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.amazon.awscdk.services.stepfunctions.CfnStateMachineAliasProps
CfnStateMachineAliasProps.Builder, CfnStateMachineAliasProps.Jsii$Proxy -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedConstructor that initializes the object based on literal property values passed by theCfnStateMachineAliasProps.Builder.protectedJsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef) Constructor that initializes the object based on values retrieved from the JsiiObject. -
Method Summary
Modifier and TypeMethodDescriptioncom.fasterxml.jackson.databind.JsonNodefinal booleanfinal ObjectThe settings that enable gradual state machine deployments.final StringAn optional description of the state machine alias.final StringgetName()The name of the state machine alias.final ObjectThe routing configuration of an alias.final inthashCode()Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
-
Constructor Details
-
Jsii$Proxy
protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef) Constructor that initializes the object based on values retrieved from the JsiiObject.- Parameters:
objRef- Reference to the JSII managed object.
-
Jsii$Proxy
Constructor that initializes the object based on literal property values passed by theCfnStateMachineAliasProps.Builder.
-
-
Method Details
-
getDeploymentPreference
Description copied from interface:CfnStateMachineAliasPropsThe settings that enable gradual state machine deployments.These settings include Alarms , Interval , Percentage , StateMachineVersionArn , and Type .
CloudFormation automatically shifts traffic from the version an alias currently points to, to a new state machine version that you specify.
RoutingConfigurationandDeploymentPreferenceare mutually exclusive properties. You must define only one of these properties.Based on the type of deployment you want to perform, you can specify one of the following settings:
LINEAR- Shifts traffic to the new version in equal increments with an equal number of minutes between each increment.
For example, if you specify the increment percent as
20with an interval of600minutes, this deployment increases traffic by 20 percent every 600 minutes until the new version receives 100 percent of the traffic. This deployment immediately rolls back the new version if any Amazon CloudWatch alarms are triggered.ALL_AT_ONCE- Shifts 100 percent of traffic to the new version immediately. CloudFormation monitors the new version and rolls it back automatically to the previous version if any CloudWatch alarms are triggered.CANARY- Shifts traffic in two increments.
In the first increment, a small percentage of traffic, for example, 10 percent is shifted to the new version. In the second increment, before a specified time interval in seconds gets over, the remaining traffic is shifted to the new version. The shift to the new version for the remaining traffic takes place only if no CloudWatch alarms are triggered during the specified time interval.
Returns union: either
IResolvableorCfnStateMachineAlias.DeploymentPreferenceProperty- Specified by:
getDeploymentPreferencein interfaceCfnStateMachineAliasProps- See Also:
-
getDescription
Description copied from interface:CfnStateMachineAliasPropsAn optional description of the state machine alias.- Specified by:
getDescriptionin interfaceCfnStateMachineAliasProps- See Also:
-
getName
Description copied from interface:CfnStateMachineAliasPropsThe name of the state machine alias.If you don't provide a name, it uses an automatically generated name based on the logical ID.
- Specified by:
getNamein interfaceCfnStateMachineAliasProps- See Also:
-
getRoutingConfiguration
Description copied from interface:CfnStateMachineAliasPropsThe routing configuration of an alias.Routing configuration splits StartExecution requests between one or two versions of the same state machine.
Use
RoutingConfigurationif you want to explicitly set the alias weights . Weight is the percentage of traffic you want to route to a state machine version.RoutingConfigurationandDeploymentPreferenceare mutually exclusive properties. You must define only one of these properties.Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnStateMachineAlias.RoutingConfigurationVersionProperty>- Specified by:
getRoutingConfigurationin interfaceCfnStateMachineAliasProps- See Also:
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()- Specified by:
$jsii$toJsonin interfacesoftware.amazon.jsii.JsiiSerializable
-
equals
-
hashCode
public final int hashCode()
-