Class: Aws::BedrockAgentCoreControl::Types::TargetTrafficSplitEntry

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

Overview

An entry in a target traffic split configuration.

Constant Summary collapse

SENSITIVE =
[:target_name]

Instance Attribute Summary collapse

Instance Attribute Details

#description ⇒ String

The description of this traffic split variant.

Returns:

  • (String)


20280
20281
20282
20283
20284
20285
20286
20287
20288
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/types.rb', line 20280

class TargetTrafficSplitEntry < Struct.new(
  :name,
  :weight,
  :target_name,
  :description,
  :metadata)
  SENSITIVE = [:target_name]
  include Aws::Structure
end

#metadata ⇒ Hash<String,String>

Key-value metadata associated with this traffic split variant.

Returns:

  • (Hash<String,String>)


20280
20281
20282
20283
20284
20285
20286
20287
20288
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/types.rb', line 20280

class TargetTrafficSplitEntry < Struct.new(
  :name,
  :weight,
  :target_name,
  :description,
  :metadata)
  SENSITIVE = [:target_name]
  include Aws::Structure
end

#name ⇒ String

The name of this traffic split variant.

Returns:

  • (String)


20280
20281
20282
20283
20284
20285
20286
20287
20288
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/types.rb', line 20280

class TargetTrafficSplitEntry < Struct.new(
  :name,
  :weight,
  :target_name,
  :description,
  :metadata)
  SENSITIVE = [:target_name]
  include Aws::Structure
end

#target_name ⇒ String

The name of the target to route traffic to.

Returns:

  • (String)


20280
20281
20282
20283
20284
20285
20286
20287
20288
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/types.rb', line 20280

class TargetTrafficSplitEntry < Struct.new(
  :name,
  :weight,
  :target_name,
  :description,
  :metadata)
  SENSITIVE = [:target_name]
  include Aws::Structure
end

#weight ⇒ Integer

The percentage of traffic to route to this variant.

Returns:

  • (Integer)


20280
20281
20282
20283
20284
20285
20286
20287
20288
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/types.rb', line 20280

class TargetTrafficSplitEntry < Struct.new(
  :name,
  :weight,
  :target_name,
  :description,
  :metadata)
  SENSITIVE = [:target_name]
  include Aws::Structure
end