We recommend new projects start with resources from the AWS provider.
aws-native.evidently.getFeature
Explore with Pulumi AI
We recommend new projects start with resources from the AWS provider.
Resource Type definition for AWS::Evidently::Feature.
Using getFeature
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getFeature(args: GetFeatureArgs, opts?: InvokeOptions): Promise<GetFeatureResult>
function getFeatureOutput(args: GetFeatureOutputArgs, opts?: InvokeOptions): Output<GetFeatureResult>
def get_feature(arn: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetFeatureResult
def get_feature_output(arn: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetFeatureResult]
func LookupFeature(ctx *Context, args *LookupFeatureArgs, opts ...InvokeOption) (*LookupFeatureResult, error)
func LookupFeatureOutput(ctx *Context, args *LookupFeatureOutputArgs, opts ...InvokeOption) LookupFeatureResultOutput
> Note: This function is named LookupFeature
in the Go SDK.
public static class GetFeature
{
public static Task<GetFeatureResult> InvokeAsync(GetFeatureArgs args, InvokeOptions? opts = null)
public static Output<GetFeatureResult> Invoke(GetFeatureInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetFeatureResult> getFeature(GetFeatureArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: aws-native:evidently:getFeature
arguments:
# arguments dictionary
The following arguments are supported:
- Arn string
- The ARN of the feature. For example,
arn:aws:evidently:us-west-2:0123455678912:project/myProject/feature/myFeature
.
- Arn string
- The ARN of the feature. For example,
arn:aws:evidently:us-west-2:0123455678912:project/myProject/feature/myFeature
.
- arn String
- The ARN of the feature. For example,
arn:aws:evidently:us-west-2:0123455678912:project/myProject/feature/myFeature
.
- arn string
- The ARN of the feature. For example,
arn:aws:evidently:us-west-2:0123455678912:project/myProject/feature/myFeature
.
- arn str
- The ARN of the feature. For example,
arn:aws:evidently:us-west-2:0123455678912:project/myProject/feature/myFeature
.
- arn String
- The ARN of the feature. For example,
arn:aws:evidently:us-west-2:0123455678912:project/myProject/feature/myFeature
.
getFeature Result
The following output properties are available:
- Arn string
- The ARN of the feature. For example,
arn:aws:evidently:us-west-2:0123455678912:project/myProject/feature/myFeature
. - Default
Variation 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 theVariations
structure is used as the default variation.- Description string
- An optional description of the feature.
- Entity
Overrides List<Pulumi.Aws Native. Evidently. Outputs. 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.
- Evaluation
Strategy Pulumi.Aws Native. Evidently. Feature Evaluation Strategy - Specify
ALL_RULES
to activate the traffic allocation specified by any ongoing launches or experiments. SpecifyDEFAULT_VARIATION
to serve the default variation to all users instead. - List<Pulumi.
Aws Native. Outputs. Tag> - An array of key-value pairs to apply to this resource.
- Variations
List<Pulumi.
Aws Native. Evidently. Outputs. Feature Variation Object> An array of structures that contain the configuration of the feature's different variations.
Each
VariationObject
in theVariations
array for a feature must have the same type of value (BooleanValue
,DoubleValue
,LongValue
orStringValue
).
- Arn string
- The ARN of the feature. For example,
arn:aws:evidently:us-west-2:0123455678912:project/myProject/feature/myFeature
. - Default
Variation 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 theVariations
structure is used as the default variation.- Description string
- An optional description of the feature.
- Entity
Overrides []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.
- Evaluation
Strategy FeatureEvaluation Strategy - Specify
ALL_RULES
to activate the traffic allocation specified by any ongoing launches or experiments. SpecifyDEFAULT_VARIATION
to serve the default variation to all users instead. - Tag
- An array of key-value pairs to apply to this resource.
- Variations
[]Feature
Variation Object An array of structures that contain the configuration of the feature's different variations.
Each
VariationObject
in theVariations
array for a feature must have the same type of value (BooleanValue
,DoubleValue
,LongValue
orStringValue
).
- arn String
- The ARN of the feature. For example,
arn:aws:evidently:us-west-2:0123455678912:project/myProject/feature/myFeature
. - default
Variation 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 theVariations
structure is used as the default variation.- description String
- An optional description of the feature.
- entity
Overrides 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.
- evaluation
Strategy FeatureEvaluation Strategy - Specify
ALL_RULES
to activate the traffic allocation specified by any ongoing launches or experiments. SpecifyDEFAULT_VARIATION
to serve the default variation to all users instead. - List<Tag>
- An array of key-value pairs to apply to this resource.
- variations
List<Feature
Variation Object> An array of structures that contain the configuration of the feature's different variations.
Each
VariationObject
in theVariations
array for a feature must have the same type of value (BooleanValue
,DoubleValue
,LongValue
orStringValue
).
- arn string
- The ARN of the feature. For example,
arn:aws:evidently:us-west-2:0123455678912:project/myProject/feature/myFeature
. - default
Variation 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 theVariations
structure is used as the default variation.- description string
- An optional description of the feature.
- entity
Overrides 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.
- evaluation
Strategy FeatureEvaluation Strategy - Specify
ALL_RULES
to activate the traffic allocation specified by any ongoing launches or experiments. SpecifyDEFAULT_VARIATION
to serve the default variation to all users instead. - Tag[]
- An array of key-value pairs to apply to this resource.
- variations
Feature
Variation Object[] An array of structures that contain the configuration of the feature's different variations.
Each
VariationObject
in theVariations
array for a feature must have the same type of value (BooleanValue
,DoubleValue
,LongValue
orStringValue
).
- arn str
- The ARN of the feature. For example,
arn:aws:evidently:us-west-2:0123455678912:project/myProject/feature/myFeature
. - 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
Variations
structure.If you omit
DefaultVariation
, the first variation listed in theVariations
structure is used as the default variation.- description str
- An optional description of the feature.
- entity_
overrides Sequence[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.
- evaluation_
strategy FeatureEvaluation Strategy - Specify
ALL_RULES
to activate the traffic allocation specified by any ongoing launches or experiments. SpecifyDEFAULT_VARIATION
to serve the default variation to all users instead. - Sequence[root_Tag]
- An array of key-value pairs to apply to this resource.
- variations
Sequence[Feature
Variation Object] An array of structures that contain the configuration of the feature's different variations.
Each
VariationObject
in theVariations
array for a feature must have the same type of value (BooleanValue
,DoubleValue
,LongValue
orStringValue
).
- arn String
- The ARN of the feature. For example,
arn:aws:evidently:us-west-2:0123455678912:project/myProject/feature/myFeature
. - default
Variation 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 theVariations
structure is used as the default variation.- description String
- An optional description of the feature.
- entity
Overrides 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.
- evaluation
Strategy "ALL_RULES" | "DEFAULT_VARIATION" - Specify
ALL_RULES
to activate the traffic allocation specified by any ongoing launches or experiments. SpecifyDEFAULT_VARIATION
to serve the default variation to all users instead. - List<Property Map>
- An array of key-value pairs to apply to this resource.
- variations List<Property Map>
An array of structures that contain the configuration of the feature's different variations.
Each
VariationObject
in theVariations
array for a feature must have the same type of value (BooleanValue
,DoubleValue
,LongValue
orStringValue
).
Supporting Types
FeatureEntityOverride
FeatureEvaluationStrategy
FeatureVariationObject
- Boolean
Value bool - The value assigned to this variation, if the variation type is boolean.
- Double
Value double - The value assigned to this variation, if the variation type is a double.
- Long
Value double - The value assigned to this variation, if the variation type is a long.
- String
Value string - The value assigned to this variation, if the variation type is a string.
- Variation
Name 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 float64 - The value assigned to this variation, if the variation type is a double.
- Long
Value float64 - The value assigned to this variation, if the variation type is a long.
- String
Value string - The value assigned to this variation, if the variation type is a string.
- Variation
Name string - A name for the variation. It can include up to 127 characters.
- boolean
Value Boolean - The value assigned to this variation, if the variation type is boolean.
- double
Value Double - The value assigned to this variation, if the variation type is a double.
- long
Value Double - The value assigned to this variation, if the variation type is a long.
- string
Value String - The value assigned to this variation, if the variation type is a string.
- variation
Name String - A name for the variation. It can include up to 127 characters.
- boolean
Value boolean - The value assigned to this variation, if the variation type is boolean.
- double
Value number - The value assigned to this variation, if the variation type is a double.
- long
Value number - The value assigned to this variation, if the variation type is a long.
- string
Value string - The value assigned to this variation, if the variation type is a string.
- variation
Name 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.
- boolean
Value Boolean - The value assigned to this variation, if the variation type is boolean.
- double
Value Number - The value assigned to this variation, if the variation type is a double.
- long
Value Number - The value assigned to this variation, if the variation type is a long.
- string
Value String - The value assigned to this variation, if the variation type is a string.
- variation
Name String - A name for the variation. It can include up to 127 characters.
Tag
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
We recommend new projects start with resources from the AWS provider.