FeatureArgs class
The set of arguments for Feature. The set of arguments for Feature.
Constructors
-
FeatureArgs({Input<
String?> ? defaultVariation, Input<String?> ? description, Input<Map< ? entityOverrides, Input<String, String> ?>String?> ? evaluationStrategy, Input<String?> ? name, required Input<String> project, Input<String?> ? region, Input<Map< ? tags, required Input<String, String> ?>List< variations})FeatureVariation> > -
Creates a new FeatureArgs.
defaultVariationThe 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 thevariationsstructure. If you omitdefaultVariation, the first variation listed in thevariationsstructure is used as the default variation.descriptionSpecifies the description of the feature.entityOverridesSpecify 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.evaluationStrategySpecifyALL_RULESto activate the traffic allocation specified by any ongoing launches or experiments. SpecifyDEFAULT_VARIATIONto serve the default variation to all users instead.nameThe name for the new feature. Minimum length of1. Maximum length of127.projectThe name or ARN of the project that is to contain the new feature.regionRegion where this resource will be managed. Defaults to the Region set in the provider configuration.tagsTags to apply to the feature. If configured with a providerdefaultTagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level.variationsOne or more blocks that contain the configuration of the feature's different variations. Detailed belowconst -
FeatureArgs.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
defaultVariation
→ Input<
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
variationsstructure. If you omitdefaultVariation, the first variation listed in thevariationsstructure is used as the default variation.final -
description
→ Input<
String?> ? -
Specifies the description of the feature.
final
-
entityOverrides
→ Input<
Map< ?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.
final
-
evaluationStrategy
→ Input<
String?> ? -
Specify
ALL_RULESto activate the traffic allocation specified by any ongoing launches or experiments. SpecifyDEFAULT_VARIATIONto serve the default variation to all users instead.final - hashCode → int
-
The hash code for this object.
no setterinherited
-
name
→ Input<
String?> ? -
The name for the new feature. Minimum length of
1. Maximum length of127.final -
project
→ Input<
String> -
The name or ARN of the project that is to contain the new feature.
final
-
region
→ Input<
String?> ? -
Region where this resource will be managed. Defaults to the Region set in the provider configuration.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
Tags to apply to the feature. If configured with a provider
defaultTagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level.final -
variations
→ Input<
List< FeatureVariation> > -
One or more blocks that contain the configuration of the feature's different variations. Detailed below
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited