StateMachineAliasDeploymentPreferenceArgs

data class StateMachineAliasDeploymentPreferenceArgs(val alarms: Output<List<String>>? = null, val interval: Output<Int>? = null, val percentage: Output<Int>? = null, val stateMachineVersionArn: Output<String>, val type: Output<StateMachineAliasDeploymentPreferenceType>) : ConvertibleToJava<StateMachineAliasDeploymentPreferenceArgs>

The settings to enable gradual state machine deployments.

Constructors

constructor(alarms: Output<List<String>>? = null, interval: Output<Int>? = null, percentage: Output<Int>? = null, stateMachineVersionArn: Output<String>, type: Output<StateMachineAliasDeploymentPreferenceType>)

Properties

Link copied to clipboard
val alarms: Output<List<String>>? = null

A list of CloudWatch alarm names that will be monitored during the deployment. The deployment will fail and rollback if any alarms go into ALARM state.

Link copied to clipboard
val interval: Output<Int>? = null

The time in minutes between each traffic shifting increment.

Link copied to clipboard
val percentage: Output<Int>? = null

The percentage of traffic to shift to the new version in each increment.

Link copied to clipboard

The Amazon Resource Name (ARN) of the AWS::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.

Link copied to clipboard

The type of deployment to perform.

Functions

Link copied to clipboard
open override fun toJava(): StateMachineAliasDeploymentPreferenceArgs