class Aws::CloudWatchEvidently::Types::CreateFeatureRequest
@note When making an API call, you may pass CreateFeatureRequest
data as a hash: { default_variation: "VariationName", description: "Description", entity_overrides: { "EntityId" => "VariationName", }, evaluation_strategy: "ALL_RULES", # accepts ALL_RULES, DEFAULT_VARIATION name: "FeatureName", # required project: "ProjectRef", # required tags: { "TagKey" => "TagValue", }, variations: [ # required { name: "VariationName", # required value: { # required bool_value: false, double_value: 1.0, long_value: 1, string_value: "VariableValueStringValueString", }, }, ], }
@!attribute [rw] default_variation
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. @return [String]
@!attribute [rw] description
An optional description of the feature. @return [String]
@!attribute [rw] entity_overrides
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. @return [Hash<String,String>]
@!attribute [rw] evaluation_strategy
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. @return [String]
@!attribute [rw] name
The name for the new feature. @return [String]
@!attribute [rw] project
The name or ARN of the project that is to contain the new feature. @return [String]
@!attribute [rw] tags
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. <p>You can associate as many as 50 tags with a feature.</p> <p>For more information, see <a href="https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html">Tagging Amazon Web Services resources</a>.</p> @return [Hash<String,String>]
@!attribute [rw] variations
An array of structures that contain the configuration of the feature's different variations. @return [Array<Types::VariationConfig>]
@see docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/CreateFeatureRequest AWS API Documentation
Constants
- SENSITIVE