AWS::StepFunctions::StateMachineAlias RoutingConfigurationVersion - AWS CloudFormation

AWS::StepFunctions::StateMachineAlias RoutingConfigurationVersion

The state machine version to which you want to route the execution traffic.

Syntax

To declare this entity in your AWS CloudFormation template, use the following syntax:

JSON

{ "StateMachineVersionArn" : String, "Weight" : Integer }

YAML

StateMachineVersionArn: String Weight: Integer

Properties

StateMachineVersionArn

The Amazon Resource Name (ARN) that identifies one or two state machine versions defined in the routing configuration.

If you specify the ARN of a second version, it must belong to the same state machine as the first version.

Required: Yes

Type: String

Minimum: 1

Maximum: 2048

Update requires: No interruption

Weight

The percentage of traffic you want to route to the state machine version. The sum of the weights in the routing configuration must be equal to 100.

Required: Yes

Type: Integer

Minimum: 0

Maximum: 100

Update requires: No interruption