AWS Native is in preview. AWS Classic is fully supported.
aws-native.evidently.Feature
Explore with Pulumi AI
AWS Native is in preview. AWS Classic is fully supported.
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.
Example
The following reference example uses placeholder values for all input properties.
Coming soon!
Coming soon!
Coming soon!
Coming soon!
const featureResource = new aws_native.evidently.Feature("featureResource", {
project: "string",
variations: [{
booleanValue: false,
doubleValue: 0,
longValue: 0,
stringValue: "string",
variationName: "string",
}],
defaultVariation: "string",
description: "string",
entityOverrides: [{
entityId: "string",
variation: "string",
}],
evaluationStrategy: aws_native.evidently.FeatureEvaluationStrategy.AllRules,
name: "string",
tags: [{
key: "string",
value: "string",
}],
});
Coming soon!
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
The Feature resource accepts the following input properties:
- Project string
- Variations
List<Pulumi.
Aws Native. Evidently. Inputs. Feature Variation Object> - Default
Variation string - Description string
- Entity
Overrides List<Pulumi.Aws Native. Evidently. Inputs. Feature Entity Override> - Evaluation
Strategy Pulumi.Aws Native. Evidently. Feature Evaluation Strategy - Name string
- List<Pulumi.
Aws Native. Inputs. Tag> - An array of key-value pairs to apply to this resource.
- Project string
- Variations
[]Feature
Variation Object Args - Default
Variation string - Description string
- Entity
Overrides []FeatureEntity Override Args - Evaluation
Strategy FeatureEvaluation Strategy - Name string
- Tag
Args - An array of key-value pairs to apply to this resource.
- project String
- variations
List<Feature
Variation Object> - default
Variation String - description String
- entity
Overrides List<FeatureEntity Override> - evaluation
Strategy FeatureEvaluation Strategy - name String
- List<Tag>
- An array of key-value pairs to apply to this resource.
- project string
- variations
Feature
Variation Object[] - default
Variation string - description string
- entity
Overrides FeatureEntity Override[] - evaluation
Strategy FeatureEvaluation Strategy - name string
- Tag[]
- An array of key-value pairs to apply to this resource.
- project str
- variations
Sequence[Feature
Variation Object Args] - default_
variation str - description str
- entity_
overrides Sequence[FeatureEntity Override Args] - evaluation_
strategy FeatureEvaluation Strategy - name str
- Sequence[Tag
Args] - An array of key-value pairs to apply to this resource.
- project String
- variations List<Property Map>
- default
Variation String - description String
- entity
Overrides List<Property Map> - evaluation
Strategy "ALL_RULES" | "DEFAULT_VARIATION" - name String
- 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
- All
Rules - ALL_RULES
- Default
Variation - DEFAULT_VARIATION
- Feature
Evaluation Strategy All Rules - ALL_RULES
- Feature
Evaluation Strategy Default Variation - DEFAULT_VARIATION
- All
Rules - ALL_RULES
- Default
Variation - DEFAULT_VARIATION
- All
Rules - ALL_RULES
- Default
Variation - DEFAULT_VARIATION
- ALL_RULES
- ALL_RULES
- DEFAULT_VARIATION
- DEFAULT_VARIATION
- "ALL_RULES"
- ALL_RULES
- "DEFAULT_VARIATION"
- DEFAULT_VARIATION
FeatureVariationObject, FeatureVariationObjectArgs
- Boolean
Value bool - Double
Value double - Long
Value double - String
Value string - Variation
Name string
- Boolean
Value bool - Double
Value float64 - Long
Value float64 - String
Value string - Variation
Name string
- boolean
Value Boolean - double
Value Double - long
Value Double - string
Value String - variation
Name String
- boolean
Value boolean - double
Value number - long
Value number - string
Value string - variation
Name string
- boolean_
value bool - double_
value float - long_
value float - string_
value str - variation_
name str
- boolean
Value Boolean - double
Value Number - long
Value Number - string
Value String - variation
Name String
Tag, TagArgs
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
AWS Native is in preview. AWS Classic is fully supported.