RoutingConfigurationListItem - AWS Step Functions

RoutingConfigurationListItem

Contains details about the routing configuration of a state machine alias. In a routing configuration, you define an array of objects that specify up to two state machine versions. You also specify the percentage of traffic to be routed to each version.

Contents

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.

Type: String

Length Constraints: Minimum length of 1. Maximum length of 256.

Required: Yes

weight

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

Type: Integer

Valid Range: Minimum value of 0. Maximum value of 100.

Required: Yes

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following: