1. Packages
  2. AWS Cloud Control
  3. API Docs
  4. evidently
  5. getFeature

We recommend new projects start with resources from the AWS provider.

AWS Cloud Control v1.13.0 published on Wednesday, Dec 4, 2024 by Pulumi

aws-native.evidently.getFeature

Explore with Pulumi AI

aws-native logo

We recommend new projects start with resources from the AWS provider.

AWS Cloud Control v1.13.0 published on Wednesday, Dec 4, 2024 by Pulumi

    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 .
    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 Variations structure.

    If you omit DefaultVariation , the first variation listed in the Variations structure is used as the default variation.

    Description string
    An optional description of the feature.
    EntityOverrides List<Pulumi.AwsNative.Evidently.Outputs.FeatureEntityOverride>
    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.AwsNative.Evidently.FeatureEvaluationStrategy
    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.
    Tags List<Pulumi.AwsNative.Outputs.Tag>
    An array of key-value pairs to apply to this resource.
    Variations List<Pulumi.AwsNative.Evidently.Outputs.FeatureVariationObject>

    An array of structures that contain the configuration of the feature's different variations.

    Each VariationObject in the Variations array for a feature must have the same type of value ( BooleanValue , DoubleValue , LongValue or 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 Variations structure.

    If you omit DefaultVariation , the first variation listed in the Variations structure is used as the default variation.

    Description string
    An optional description of the feature.
    EntityOverrides []FeatureEntityOverride
    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 FeatureEvaluationStrategy
    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.
    Tags Tag
    An array of key-value pairs to apply to this resource.
    Variations []FeatureVariationObject

    An array of structures that contain the configuration of the feature's different variations.

    Each VariationObject in the Variations array for a feature must have the same type of value ( BooleanValue , DoubleValue , LongValue or 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 Variations structure.

    If you omit DefaultVariation , the first variation listed in the Variations structure is used as the default variation.

    description String
    An optional description of the feature.
    entityOverrides List<FeatureEntityOverride>
    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 FeatureEvaluationStrategy
    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.
    tags List<Tag>
    An array of key-value pairs to apply to this resource.
    variations List<FeatureVariationObject>

    An array of structures that contain the configuration of the feature's different variations.

    Each VariationObject in the Variations array for a feature must have the same type of value ( BooleanValue , DoubleValue , LongValue or 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 Variations structure.

    If you omit DefaultVariation , the first variation listed in the Variations structure is used as the default variation.

    description string
    An optional description of the feature.
    entityOverrides FeatureEntityOverride[]
    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 FeatureEvaluationStrategy
    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.
    tags Tag[]
    An array of key-value pairs to apply to this resource.
    variations FeatureVariationObject[]

    An array of structures that contain the configuration of the feature's different variations.

    Each VariationObject in the Variations array for a feature must have the same type of value ( BooleanValue , DoubleValue , LongValue or 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 Variations structure.

    If you omit DefaultVariation , the first variation listed in the Variations structure is used as the default variation.

    description str
    An optional description of the feature.
    entity_overrides Sequence[FeatureEntityOverride]
    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 FeatureEvaluationStrategy
    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.
    tags Sequence[root_Tag]
    An array of key-value pairs to apply to this resource.
    variations Sequence[FeatureVariationObject]

    An array of structures that contain the configuration of the feature's different variations.

    Each VariationObject in the Variations array for a feature must have the same type of value ( BooleanValue , DoubleValue , LongValue or 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 Variations structure.

    If you omit DefaultVariation , the first variation listed in the Variations structure 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_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.
    tags 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 the Variations array for a feature must have the same type of value ( BooleanValue , DoubleValue , LongValue or StringValue ).

    Supporting Types

    FeatureEntityOverride

    EntityId string
    The entity ID to be served the variation specified in Variation .
    Variation string
    The name of the variation to serve to the user session that matches the EntityId .
    EntityId string
    The entity ID to be served the variation specified in Variation .
    Variation string
    The name of the variation to serve to the user session that matches the EntityId .
    entityId String
    The entity ID to be served the variation specified in Variation .
    variation String
    The name of the variation to serve to the user session that matches the EntityId .
    entityId string
    The entity ID to be served the variation specified in Variation .
    variation string
    The name of the variation to serve to the user session that matches the EntityId .
    entity_id str
    The entity ID to be served the variation specified in Variation .
    variation str
    The name of the variation to serve to the user session that matches the EntityId .
    entityId String
    The entity ID to be served the variation specified in Variation .
    variation String
    The name of the variation to serve to the user session that matches the EntityId .

    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

    Key string
    The key name of the tag
    Value string
    The value of the tag
    Key string
    The key name of the tag
    Value string
    The value of the tag
    key String
    The key name of the tag
    value String
    The value of the tag
    key string
    The key name of the tag
    value string
    The value of the tag
    key str
    The key name of the tag
    value str
    The value of the tag
    key String
    The key name of the tag
    value String
    The value of the tag

    Package Details

    Repository
    AWS Native pulumi/pulumi-aws-native
    License
    Apache-2.0
    aws-native logo

    We recommend new projects start with resources from the AWS provider.

    AWS Cloud Control v1.13.0 published on Wednesday, Dec 4, 2024 by Pulumi