Class: Aws::AmplifyGen3::Types::RoutingConfigEntry

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-amplifygen3/lib/aws-sdk-amplifygen3/types.rb

Overview

An entry that maps a portion of traffic to a deployment.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#deployment_id ⇒ String

The ID of the deployment that receives the traffic.

Returns:

  • (String)


6387
6388
6389
6390
6391
6392
# File 'gems/aws-sdk-amplifygen3/lib/aws-sdk-amplifygen3/types.rb', line 6387

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

#weight ⇒ Integer

The percentage of traffic to route to the deployment.

Returns:

  • (Integer)


6387
6388
6389
6390
6391
6392
# File 'gems/aws-sdk-amplifygen3/lib/aws-sdk-amplifygen3/types.rb', line 6387

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