We recommend new projects start with resources from the AWS provider.
aws-native.evidently.Feature
Explore with Pulumi AI
We recommend new projects start with resources from the AWS provider.
Resource Type definition for AWS::Evidently::Feature.
Create Feature Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Feature(name: string, args: FeatureArgs, opts?: CustomResourceOptions);@overload
def Feature(resource_name: str,
            args: FeatureArgs,
            opts: Optional[ResourceOptions] = None)
@overload
def Feature(resource_name: str,
            opts: Optional[ResourceOptions] = None,
            project: Optional[str] = None,
            variations: Optional[Sequence[FeatureVariationObjectArgs]] = None,
            default_variation: Optional[str] = None,
            description: Optional[str] = None,
            entity_overrides: Optional[Sequence[FeatureEntityOverrideArgs]] = None,
            evaluation_strategy: Optional[FeatureEvaluationStrategy] = None,
            name: Optional[str] = None,
            tags: Optional[Sequence[_root_inputs.TagArgs]] = None)func NewFeature(ctx *Context, name string, args FeatureArgs, opts ...ResourceOption) (*Feature, error)public Feature(string name, FeatureArgs args, CustomResourceOptions? opts = null)
public Feature(String name, FeatureArgs args)
public Feature(String name, FeatureArgs args, CustomResourceOptions options)
type: aws-native:evidently:Feature
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args FeatureArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args FeatureArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args FeatureArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args FeatureArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args FeatureArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Feature Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The Feature resource accepts the following input properties:
- Project string
- The name or ARN of the project that is to contain the new feature.
- Variations
List<Pulumi.Aws Native. Evidently. Inputs. Feature Variation Object> 
- An array of structures that contain the configuration of the feature's different variations. - Each - VariationObjectin the- Variationsarray for a feature must have the same type of value (- BooleanValue,- DoubleValue,- LongValueor- StringValue).
- DefaultVariation 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 omit - DefaultVariation, the first variation listed in the- Variationsstructure is used as the default variation.
- Description string
- An optional description of the feature.
- EntityOverrides List<Pulumi.Aws Native. Evidently. Inputs. Feature Entity Override> 
- 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 Pulumi.Aws Native. Evidently. Feature Evaluation Strategy 
- Specify ALL_RULESto activate the traffic allocation specified by any ongoing launches or experiments. SpecifyDEFAULT_VARIATIONto serve the default variation to all users instead.
- Name string
- The name for the feature. It can include up to 127 characters.
- 
List<Pulumi.Aws Native. Inputs. Tag> 
- An array of key-value pairs to apply to this resource.
- Project string
- The name or ARN of the project that is to contain the new feature.
- Variations
[]FeatureVariation Object Args 
- An array of structures that contain the configuration of the feature's different variations. - Each - VariationObjectin the- Variationsarray for a feature must have the same type of value (- BooleanValue,- DoubleValue,- LongValueor- StringValue).
- DefaultVariation 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 omit - DefaultVariation, the first variation listed in the- Variationsstructure is used as the default variation.
- Description string
- An optional description of the feature.
- EntityOverrides []FeatureEntity Override Args 
- 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 FeatureEvaluation Strategy 
- Specify ALL_RULESto activate the traffic allocation specified by any ongoing launches or experiments. SpecifyDEFAULT_VARIATIONto serve the default variation to all users instead.
- Name string
- The name for the feature. It can include up to 127 characters.
- 
TagArgs 
- An array of key-value pairs to apply to this resource.
- project String
- The name or ARN of the project that is to contain the new feature.
- variations
List<FeatureVariation Object> 
- An array of structures that contain the configuration of the feature's different variations. - Each - VariationObjectin the- Variationsarray for a feature must have the same type of value (- BooleanValue,- DoubleValue,- LongValueor- StringValue).
- defaultVariation 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 omit - DefaultVariation, the first variation listed in the- Variationsstructure is used as the default variation.
- description String
- An optional description of the feature.
- entityOverrides List<FeatureEntity Override> 
- 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 FeatureEvaluation Strategy 
- Specify ALL_RULESto activate the traffic allocation specified by any ongoing launches or experiments. SpecifyDEFAULT_VARIATIONto serve the default variation to all users instead.
- name String
- The name for the feature. It can include up to 127 characters.
- List<Tag>
- An array of key-value pairs to apply to this resource.
- project string
- The name or ARN of the project that is to contain the new feature.
- variations
FeatureVariation Object[] 
- An array of structures that contain the configuration of the feature's different variations. - Each - VariationObjectin the- Variationsarray for a feature must have the same type of value (- BooleanValue,- DoubleValue,- LongValueor- StringValue).
- defaultVariation 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 omit - DefaultVariation, the first variation listed in the- Variationsstructure is used as the default variation.
- description string
- An optional description of the feature.
- entityOverrides FeatureEntity Override[] 
- 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 FeatureEvaluation Strategy 
- Specify ALL_RULESto activate the traffic allocation specified by any ongoing launches or experiments. SpecifyDEFAULT_VARIATIONto serve the default variation to all users instead.
- name string
- The name for the feature. It can include up to 127 characters.
- Tag[]
- An array of key-value pairs to apply to this resource.
- project str
- The name or ARN of the project that is to contain the new feature.
- variations
Sequence[FeatureVariation Object Args] 
- An array of structures that contain the configuration of the feature's different variations. - Each - VariationObjectin the- Variationsarray for a feature must have the same type of value (- BooleanValue,- DoubleValue,- LongValueor- StringValue).
- default_variation str
- 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 omit - DefaultVariation, the first variation listed in the- Variationsstructure is used as the default variation.
- description str
- An optional description of the feature.
- entity_overrides Sequence[FeatureEntity Override Args] 
- 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.
- evaluation_strategy FeatureEvaluation Strategy 
- Specify ALL_RULESto activate the traffic allocation specified by any ongoing launches or experiments. SpecifyDEFAULT_VARIATIONto serve the default variation to all users instead.
- name str
- The name for the feature. It can include up to 127 characters.
- 
Sequence[TagArgs] 
- An array of key-value pairs to apply to this resource.
- project String
- The name or ARN of the project that is to contain the new feature.
- variations List<Property Map>
- An array of structures that contain the configuration of the feature's different variations. - Each - VariationObjectin the- Variationsarray for a feature must have the same type of value (- BooleanValue,- DoubleValue,- LongValueor- StringValue).
- defaultVariation 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 omit - DefaultVariation, the first variation listed in the- Variationsstructure is used as the default variation.
- description String
- An optional description of the feature.
- entityOverrides List<Property Map>
- 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 "ALL_RULES" | "DEFAULT_VARIATION"
- Specify ALL_RULESto activate the traffic allocation specified by any ongoing launches or experiments. SpecifyDEFAULT_VARIATIONto serve the default variation to all users instead.
- name String
- The name for the feature. It can include up to 127 characters.
- List<Property Map>
- An array of key-value pairs to apply to this resource.
Outputs
All input properties are implicitly available as output properties. Additionally, the Feature resource produces the following output properties:
Supporting Types
FeatureEntityOverride, FeatureEntityOverrideArgs      
FeatureEvaluationStrategy, FeatureEvaluationStrategyArgs      
- AllRules 
- ALL_RULES
- DefaultVariation 
- DEFAULT_VARIATION
- FeatureEvaluation Strategy All Rules 
- ALL_RULES
- FeatureEvaluation Strategy Default Variation 
- DEFAULT_VARIATION
- AllRules 
- ALL_RULES
- DefaultVariation 
- DEFAULT_VARIATION
- AllRules 
- ALL_RULES
- DefaultVariation 
- DEFAULT_VARIATION
- ALL_RULES
- ALL_RULES
- DEFAULT_VARIATION
- DEFAULT_VARIATION
- "ALL_RULES"
- ALL_RULES
- "DEFAULT_VARIATION"
- DEFAULT_VARIATION
FeatureVariationObject, FeatureVariationObjectArgs      
- BooleanValue bool
- The value assigned to this variation, if the variation type is boolean.
- DoubleValue double
- The value assigned to this variation, if the variation type is a double.
- LongValue double
- The value assigned to this variation, if the variation type is a long.
- StringValue string
- The value assigned to this variation, if the variation type is a string.
- VariationName string
- A name for the variation. It can include up to 127 characters.
- BooleanValue bool
- The value assigned to this variation, if the variation type is boolean.
- DoubleValue float64
- The value assigned to this variation, if the variation type is a double.
- LongValue float64
- The value assigned to this variation, if the variation type is a long.
- StringValue string
- The value assigned to this variation, if the variation type is a string.
- VariationName string
- A name for the variation. It can include up to 127 characters.
- booleanValue Boolean
- The value assigned to this variation, if the variation type is boolean.
- doubleValue Double
- The value assigned to this variation, if the variation type is a double.
- longValue Double
- The value assigned to this variation, if the variation type is a long.
- stringValue String
- The value assigned to this variation, if the variation type is a string.
- variationName String
- A name for the variation. It can include up to 127 characters.
- booleanValue boolean
- The value assigned to this variation, if the variation type is boolean.
- doubleValue number
- The value assigned to this variation, if the variation type is a double.
- longValue number
- The value assigned to this variation, if the variation type is a long.
- stringValue string
- The value assigned to this variation, if the variation type is a string.
- variationName string
- A name for the variation. It can include up to 127 characters.
- boolean_value bool
- The value assigned to this variation, if the variation type is boolean.
- double_value float
- The value assigned to this variation, if the variation type is a double.
- long_value float
- The value assigned to this variation, if the variation type is a long.
- string_value str
- The value assigned to this variation, if the variation type is a string.
- variation_name str
- A name for the variation. It can include up to 127 characters.
- booleanValue Boolean
- The value assigned to this variation, if the variation type is boolean.
- doubleValue Number
- The value assigned to this variation, if the variation type is a double.
- longValue Number
- The value assigned to this variation, if the variation type is a long.
- stringValue String
- The value assigned to this variation, if the variation type is a string.
- variationName String
- A name for the variation. It can include up to 127 characters.
Tag, TagArgs  
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
We recommend new projects start with resources from the AWS provider.