Class: Aws::States::Types::RoutingConfigurationListItem

Inherits:
Struct
  • Object
show all
Includes:
Aws::Structure
Defined in:
lib/aws-sdk-states/types.rb

Overview

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.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#state_machine_version_arnString

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.

Returns:

  • (String)


3110
3111
3112
3113
3114
3115
# File 'lib/aws-sdk-states/types.rb', line 3110

class RoutingConfigurationListItem < Struct.new(
  :state_machine_version_arn,
  :weight)
  SENSITIVE = []
  include Aws::Structure
end

#weightInteger

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.

Returns:

  • (Integer)


3110
3111
3112
3113
3114
3115
# File 'lib/aws-sdk-states/types.rb', line 3110

class RoutingConfigurationListItem < Struct.new(
  :state_machine_version_arn,
  :weight)
  SENSITIVE = []
  include Aws::Structure
end