FeatureArgs constructor
- Input<
String?> ? defaultVariation, - Input<
String?> ? description, - Input<
Map< ? entityOverrides,String, String> ?> - Input<
String?> ? evaluationStrategy, - Input<
String?> ? name, - required Input<
String> project, - Input<
String?> ? region, - Input<
Map< ? tags,String, String> ?> - required Input<
List< variations,FeatureVariation> >
Creates a new FeatureArgs.
defaultVariation 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.
description Specifies the description of the feature.
entityOverrides 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.
evaluationStrategy 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.
name The name for the new feature. Minimum length of 1. Maximum length of 127.
project The name or ARN of the project that is to contain the new feature.
region Region where this resource will be managed. Defaults to the Region set in the provider configuration.
tags Tags to apply to the feature. If configured with a provider defaultTags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
variations One or more blocks that contain the configuration of the feature's different variations. Detailed below
Implementation
const FeatureArgs({
this.defaultVariation,
this.description,
this.entityOverrides,
this.evaluationStrategy,
this.name,
required this.project,
this.region,
this.tags,
required this.variations,
});