FeatureArgs class

The set of arguments for Feature. The set of arguments for Feature.

Constructors

FeatureArgs({Input<String?>? defaultVariation, Input<String?>? description, Input<Map<String, String>?>? entityOverrides, Input<String?>? evaluationStrategy, Input<String?>? name, required Input<String> project, Input<String?>? region, Input<Map<String, String>?>? tags, required Input<List<FeatureVariation>> variations})
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
const
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 variations structure. If you omit defaultVariation, the first variation listed in the variations structure 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_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.
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 of 127.
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 → Input<Map<String, String>?>?
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.
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