Class: Aws::CloudWatchEvidently::Types::CreateFeatureRequest
- Inherits:
-
Struct
- Object
- Struct
- Aws::CloudWatchEvidently::Types::CreateFeatureRequest
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-cloudwatchevidently/types.rb
Overview
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#default_variation ⇒ String
The name of the variation to use as the default variation.
-
#description ⇒ String
An optional description of the feature.
-
#entity_overrides ⇒ Hash<String,String>
Specify users that should always be served a specific variation of a feature.
-
#evaluation_strategy ⇒ String
Specify ‘ALL_RULES` to activate the traffic allocation specified by any ongoing launches or experiments.
-
#name ⇒ String
The name for the new feature.
-
#project ⇒ String
The name or ARN of the project that is to contain the new feature.
-
#tags ⇒ Hash<String,String>
Assigns one or more tags (key-value pairs) to the feature.
-
#variations ⇒ Array<Types::VariationConfig>
An array of structures that contain the configuration of the feature’s different variations.
Instance Attribute Details
#default_variation ⇒ String
The name of the variation to use as the default variation. The default variation is served to users who are not allocated to any ongoing launches or experiments of this feature.
This variation must also be listed in the ‘variations` structure.
If you omit ‘defaultVariation`, the first variation listed in the `variations` structure is used as the default variation.
288 289 290 291 292 293 294 295 296 297 298 299 |
# File 'lib/aws-sdk-cloudwatchevidently/types.rb', line 288 class CreateFeatureRequest < Struct.new( :default_variation, :description, :entity_overrides, :evaluation_strategy, :name, :project, :tags, :variations) SENSITIVE = [] include Aws::Structure end |
#description ⇒ String
An optional description of the feature.
288 289 290 291 292 293 294 295 296 297 298 299 |
# File 'lib/aws-sdk-cloudwatchevidently/types.rb', line 288 class CreateFeatureRequest < Struct.new( :default_variation, :description, :entity_overrides, :evaluation_strategy, :name, :project, :tags, :variations) SENSITIVE = [] include Aws::Structure end |
#entity_overrides ⇒ Hash<String,String>
Specify users that should always be served a specific variation of a feature. Each user is specified by a key-value pair . For each key, specify a user by entering their user ID, account ID, or some other identifier. For the value, specify the name of the variation that they are to be served.
This parameter is limited to 2500 overrides or a total of 40KB. The 40KB limit includes an overhead of 6 bytes per override.
288 289 290 291 292 293 294 295 296 297 298 299 |
# File 'lib/aws-sdk-cloudwatchevidently/types.rb', line 288 class CreateFeatureRequest < Struct.new( :default_variation, :description, :entity_overrides, :evaluation_strategy, :name, :project, :tags, :variations) SENSITIVE = [] include Aws::Structure end |
#evaluation_strategy ⇒ String
Specify ‘ALL_RULES` to activate the traffic allocation specified by any ongoing launches or experiments. Specify `DEFAULT_VARIATION` to serve the default variation to all users instead.
288 289 290 291 292 293 294 295 296 297 298 299 |
# File 'lib/aws-sdk-cloudwatchevidently/types.rb', line 288 class CreateFeatureRequest < Struct.new( :default_variation, :description, :entity_overrides, :evaluation_strategy, :name, :project, :tags, :variations) SENSITIVE = [] include Aws::Structure end |
#name ⇒ String
The name for the new feature.
288 289 290 291 292 293 294 295 296 297 298 299 |
# File 'lib/aws-sdk-cloudwatchevidently/types.rb', line 288 class CreateFeatureRequest < Struct.new( :default_variation, :description, :entity_overrides, :evaluation_strategy, :name, :project, :tags, :variations) SENSITIVE = [] include Aws::Structure end |
#project ⇒ String
The name or ARN of the project that is to contain the new feature.
288 289 290 291 292 293 294 295 296 297 298 299 |
# File 'lib/aws-sdk-cloudwatchevidently/types.rb', line 288 class CreateFeatureRequest < Struct.new( :default_variation, :description, :entity_overrides, :evaluation_strategy, :name, :project, :tags, :variations) SENSITIVE = [] include Aws::Structure end |
#tags ⇒ Hash<String,String>
Assigns one or more tags (key-value pairs) to the feature.
Tags can help you organize and categorize your resources. You can also use them to scope user permissions by granting a user permission to access or change only resources with certain tag values.
Tags don’t have any semantic meaning to Amazon Web Services and are interpreted strictly as strings of characters.
You can associate as many as 50 tags with a feature.
For more information, see [Tagging Amazon Web Services resources].
288 289 290 291 292 293 294 295 296 297 298 299 |
# File 'lib/aws-sdk-cloudwatchevidently/types.rb', line 288 class CreateFeatureRequest < Struct.new( :default_variation, :description, :entity_overrides, :evaluation_strategy, :name, :project, :tags, :variations) SENSITIVE = [] include Aws::Structure end |
#variations ⇒ Array<Types::VariationConfig>
An array of structures that contain the configuration of the feature’s different variations.
288 289 290 291 292 293 294 295 296 297 298 299 |
# File 'lib/aws-sdk-cloudwatchevidently/types.rb', line 288 class CreateFeatureRequest < Struct.new( :default_variation, :description, :entity_overrides, :evaluation_strategy, :name, :project, :tags, :variations) SENSITIVE = [] include Aws::Structure end |