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)


3395
3396
3397
3398
3399
3400
# File 'lib/aws-sdk-states/types.rb', line 3395

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)


3395
3396
3397
3398
3399
3400
# File 'lib/aws-sdk-states/types.rb', line 3395

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