Class: Aws::BedrockAgentCore::Types::Variant

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

Overview

A variant in an A/B test, representing either the control (C) or treatment (T1) configuration.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#name ⇒ String

The name of the variant. Must be C for control or T1 for treatment.

Returns:

  • (String)


11500
11501
11502
11503
11504
11505
11506
# File 'gems/aws-sdk-bedrockagentcore/lib/aws-sdk-bedrockagentcore/types.rb', line 11500

class Variant < Struct.new(
  :name,
  :weight,
  :variant_configuration)
  SENSITIVE = []
  include Aws::Structure
end

#variant_configuration ⇒ Types::VariantConfiguration

The configuration for this variant, including the configuration bundle or target reference.



11500
11501
11502
11503
11504
11505
11506
# File 'gems/aws-sdk-bedrockagentcore/lib/aws-sdk-bedrockagentcore/types.rb', line 11500

class Variant < Struct.new(
  :name,
  :weight,
  :variant_configuration)
  SENSITIVE = []
  include Aws::Structure
end

#weight ⇒ Integer

The percentage of traffic to route to this variant. Weights across all variants must sum to 100.

Returns:

  • (Integer)


11500
11501
11502
11503
11504
11505
11506
# File 'gems/aws-sdk-bedrockagentcore/lib/aws-sdk-bedrockagentcore/types.rb', line 11500

class Variant < Struct.new(
  :name,
  :weight,
  :variant_configuration)
  SENSITIVE = []
  include Aws::Structure
end