RoutingConfigurationListItem - Amazon Step Functions
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

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 Amazon SDKs, see the following: