Class CfnStateMachineAlias.DeploymentPreferenceProperty.Jsii$Proxy
- All Implemented Interfaces:
CfnStateMachineAlias.DeploymentPreferenceProperty
,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
CfnStateMachineAlias.DeploymentPreferenceProperty
CfnStateMachineAlias.DeploymentPreferenceProperty
-
Nested Class Summary
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
Nested classes/interfaces inherited from interface software.amazon.awscdk.services.stepfunctions.CfnStateMachineAlias.DeploymentPreferenceProperty
CfnStateMachineAlias.DeploymentPreferenceProperty.Builder, CfnStateMachineAlias.DeploymentPreferenceProperty.Jsii$Proxy
-
Constructor Summary
ModifierConstructorDescriptionprotected
Constructor that initializes the object based on literal property values passed by theCfnStateMachineAlias.DeploymentPreferenceProperty.Builder
.protected
Jsii$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.JsonNode
final boolean
A list of Amazon CloudWatch alarm names to be monitored during the deployment.final Number
The time in minutes between each traffic shifting increment.final Number
The percentage of traffic to shift to the new version in each increment.final String
The Amazon Resource Name (ARN) of theAWS::StepFunctions::StateMachineVersion
resource that will be the final version to which the alias points to when the traffic shifting is complete.final String
getType()
The type of deployment you want to perform.final int
hashCode()
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 theCfnStateMachineAlias.DeploymentPreferenceProperty.Builder
.
-
-
Method Details
-
getStateMachineVersionArn
Description copied from interface:CfnStateMachineAlias.DeploymentPreferenceProperty
The Amazon Resource Name (ARN) of theAWS::StepFunctions::StateMachineVersion
resource that will be the final version to which the alias points to when the traffic shifting is complete.While performing gradual deployments, you can only provide a single state machine version ARN. To explicitly set version weights in a CloudFormation template, use
RoutingConfiguration
instead.- Specified by:
getStateMachineVersionArn
in interfaceCfnStateMachineAlias.DeploymentPreferenceProperty
- See Also:
-
getType
Description copied from interface:CfnStateMachineAlias.DeploymentPreferenceProperty
The type of deployment you want to perform. You can specify one of the following types:.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
20
with an interval of600
minutes, 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 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.
- Specified by:
getType
in interfaceCfnStateMachineAlias.DeploymentPreferenceProperty
- See Also:
-
getAlarms
Description copied from interface:CfnStateMachineAlias.DeploymentPreferenceProperty
A list of Amazon CloudWatch alarm names to be monitored during the deployment.The deployment fails and rolls back if any of these alarms go into the
ALARM
state.Amazon CloudWatch considers nonexistent alarms to have an
OK
state. If you provide an invalid alarm name or provide the ARN of an alarm instead of its name, your deployment may not roll back correctly.- Specified by:
getAlarms
in interfaceCfnStateMachineAlias.DeploymentPreferenceProperty
- See Also:
-
getInterval
Description copied from interface:CfnStateMachineAlias.DeploymentPreferenceProperty
The time in minutes between each traffic shifting increment.- Specified by:
getInterval
in interfaceCfnStateMachineAlias.DeploymentPreferenceProperty
- See Also:
-
getPercentage
Description copied from interface:CfnStateMachineAlias.DeploymentPreferenceProperty
The percentage of traffic to shift to the new version in each increment.- Specified by:
getPercentage
in interfaceCfnStateMachineAlias.DeploymentPreferenceProperty
- See Also:
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()- Specified by:
$jsii$toJson
in interfacesoftware.amazon.jsii.JsiiSerializable
-
equals
-
hashCode
public final int hashCode()
-