Class: Aws::CloudWatchEvidently::Types::OnlineAbConfig

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

Overview

A structure that contains the configuration of which variation to use as the "control" version. The "control" version is used for comparison with other variations. This structure also specifies how much experiment traffic is allocated to each variation.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#control_treatment_nameString

The name of the variation that is to be the default variation that the other variations are compared to.

Returns:

  • (String)


2110
2111
2112
2113
2114
2115
# File 'gems/aws-sdk-cloudwatchevidently/lib/aws-sdk-cloudwatchevidently/types.rb', line 2110

class OnlineAbConfig < Struct.new(
  :control_treatment_name,
  :treatment_weights)
  SENSITIVE = []
  include Aws::Structure
end

#treatment_weightsHash<String,Integer>

A set of key-value pairs. The keys are variation names, and the values are the portion of experiment traffic to be assigned to that variation. Specify the traffic portion in thousandths of a percent, so 20,000 for a variation would allocate 20% of the experiment traffic to that variation.

Returns:

  • (Hash<String,Integer>)


2110
2111
2112
2113
2114
2115
# File 'gems/aws-sdk-cloudwatchevidently/lib/aws-sdk-cloudwatchevidently/types.rb', line 2110

class OnlineAbConfig < Struct.new(
  :control_treatment_name,
  :treatment_weights)
  SENSITIVE = []
  include Aws::Structure
end