FeatureArgs

data class FeatureArgs(val defaultVariation: Output<String>? = null, val description: Output<String>? = null, val entityOverrides: Output<List<FeatureEntityOverrideArgs>>? = null, val evaluationStrategy: Output<FeatureEvaluationStrategy>? = null, val name: Output<String>? = null, val project: Output<String>? = null, val tags: Output<List<TagArgs>>? = null, val variations: Output<List<FeatureVariationObjectArgs>>? = null) : ConvertibleToJava<FeatureArgs>

Resource Type definition for AWS::Evidently::Feature.

Constructors

Link copied to clipboard
constructor(defaultVariation: Output<String>? = null, description: Output<String>? = null, entityOverrides: Output<List<FeatureEntityOverrideArgs>>? = null, evaluationStrategy: Output<FeatureEvaluationStrategy>? = null, name: Output<String>? = null, project: Output<String>? = null, tags: Output<List<TagArgs>>? = null, variations: Output<List<FeatureVariationObjectArgs>>? = null)

Properties

Link copied to clipboard
val defaultVariation: Output<String>? = null

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.

Link copied to clipboard
val description: Output<String>? = null

An optional description of the feature.

Link copied to clipboard

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.

Link copied to clipboard

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.

Link copied to clipboard
val name: Output<String>? = null

The name for the feature. It can include up to 127 characters.

Link copied to clipboard
val project: Output<String>? = null

The name or ARN of the project that is to contain the new feature.

Link copied to clipboard
val tags: Output<List<TagArgs>>? = null

An array of key-value pairs to apply to this resource.

Link copied to clipboard

An array of structures that contain the configuration of the feature's different variations. Each VariationObject in the Variations array for a feature must have the same type of value ( BooleanValue , DoubleValue , LongValue or StringValue ).

Functions

Link copied to clipboard
open override fun toJava(): FeatureArgs