StateMachineAliasDeploymentPreference

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

The settings to enable gradual state machine deployments.

Constructors

Link copied to clipboard
constructor(alarms: List<String>? = null, interval: Int? = null, percentage: Int? = null, stateMachineVersionArn: String, type: StateMachineAliasDeploymentPreferenceType)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val alarms: 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: Int? = null

The time in minutes between each traffic shifting increment.

Link copied to clipboard
val percentage: 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.