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)
public static Output<GetFeatureResult> getFeature(GetFeatureArgs args, InvokeOptions options)
fn::invoke:
  function: aws-native:evidently:getFeature
  arguments:
    # arguments dictionaryThe 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.
- 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. 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.
- 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.
- 
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 - VariationObjectin the- Variationsarray for a feature must have the same type of value (- BooleanValue,- DoubleValue,- LongValueor- StringValue).
- Arn string
- The ARN of the feature. For example, arn:aws:evidently:us-west-2:0123455678912:project/myProject/feature/myFeature.
- 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.
- Tag
- An array of key-value pairs to apply to this resource.
- 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).
- arn String
- The ARN of the feature. For example, arn:aws:evidently:us-west-2:0123455678912:project/myProject/feature/myFeature.
- 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.
- List<Tag>
- An array of key-value pairs to apply to this resource.
- 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).
- arn string
- The ARN of the feature. For example, arn:aws:evidently:us-west-2:0123455678912:project/myProject/feature/myFeature.
- 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.
- Tag[]
- An array of key-value pairs to apply to this resource.
- 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).
- 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 - 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] 
- 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.
- Sequence[root_Tag]
- An array of key-value pairs to apply to this resource.
- variations
Sequence[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).
- arn String
- The ARN of the feature. For example, arn:aws:evidently:us-west-2:0123455678912:project/myProject/feature/myFeature.
- 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.
- 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 - VariationObjectin the- Variationsarray for a feature must have the same type of value (- BooleanValue,- DoubleValue,- LongValueor- StringValue).
Supporting Types
FeatureEntityOverride  
FeatureEvaluationStrategy  
FeatureVariationObject  
- 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
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
We recommend new projects start with resources from the AWS provider.