1. Registry
  2. Packages
  3. AWS Cloud Control
  4. API Docs
  5. appconfig
  6. getExperimentDefinition

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

Viewing docs for AWS Cloud Control v1.76.0
published on Monday, Aug 24, 2026 by Pulumi
aws-native logo aws-native logo

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

Viewing docs for AWS Cloud Control v1.76.0
published on Monday, Aug 24, 2026 by Pulumi

    Resource Type definition for AWS::AppConfig::ExperimentDefinition

    Using getExperimentDefinition

    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 getExperimentDefinition(args: GetExperimentDefinitionArgs, opts?: InvokeOptions): Promise<GetExperimentDefinitionResult>
    function getExperimentDefinitionOutput(args: GetExperimentDefinitionOutputArgs, opts?: InvokeOutputOptions): Output<GetExperimentDefinitionResult>
    def get_experiment_definition(application_id: Optional[str] = None,
                                  id: Optional[str] = None,
                                  opts: Optional[InvokeOptions] = None) -> GetExperimentDefinitionResult
    def get_experiment_definition_output(application_id: pulumi.Input[Optional[str]] = None,
                                  id: pulumi.Input[Optional[str]] = None,
                                  opts: Optional[InvokeOutputOptions] = None) -> Output[GetExperimentDefinitionResult]
    func LookupExperimentDefinition(ctx *Context, args *LookupExperimentDefinitionArgs, opts ...InvokeOption) (*LookupExperimentDefinitionResult, error)
    func LookupExperimentDefinitionOutput(ctx *Context, args *LookupExperimentDefinitionOutputArgs, opts ...InvokeOption) LookupExperimentDefinitionResultOutput

    > Note: This function is named LookupExperimentDefinition in the Go SDK.

    public static class GetExperimentDefinition 
    {
        public static Task<GetExperimentDefinitionResult> InvokeAsync(GetExperimentDefinitionArgs args, InvokeOptions? opts = null)
        public static Output<GetExperimentDefinitionResult> Invoke(GetExperimentDefinitionInvokeArgs args, InvokeOptions? opts = null)
        public static Output<GetExperimentDefinitionResult> Invoke(GetExperimentDefinitionInvokeArgs args, InvokeOutputOptions opts)
    }
    public static CompletableFuture<GetExperimentDefinitionResult> getExperimentDefinition(GetExperimentDefinitionArgs args, InvokeOptions options)
    public static Output<GetExperimentDefinitionResult> getExperimentDefinition(GetExperimentDefinitionArgs args, InvokeOptions options)
    public static Output<GetExperimentDefinitionResult> getExperimentDefinition(GetExperimentDefinitionArgs args, InvokeOutputOptions options)
    
    fn::invoke:
      function: aws-native:appconfig:getExperimentDefinition
      arguments:
        # arguments dictionary
    data "aws-native_appconfig_get_experiment_definition" "name" {
        # arguments
    }

    The following arguments are supported:

    ApplicationId string
    The resolved application ID (read-only, assigned by service).
    Id string
    The experiment definition ID.
    ApplicationId string
    The resolved application ID (read-only, assigned by service).
    Id string
    The experiment definition ID.
    application_id string
    The resolved application ID (read-only, assigned by service).
    id string
    The experiment definition ID.
    applicationId String
    The resolved application ID (read-only, assigned by service).
    id String
    The experiment definition ID.
    applicationId string
    The resolved application ID (read-only, assigned by service).
    id string
    The experiment definition ID.
    application_id str
    The resolved application ID (read-only, assigned by service).
    id str
    The experiment definition ID.
    applicationId String
    The resolved application ID (read-only, assigned by service).
    id String
    The experiment definition ID.

    getExperimentDefinition Result

    The following output properties are available:

    ApplicationId string
    The resolved application ID (read-only, assigned by service).
    AudienceDescription string
    Human-readable description of the audience.
    AudienceRule string
    Rule expression defining the experiment audience.
    Control Pulumi.AwsNative.AppConfig.Outputs.ExperimentDefinitionTreatment
    The control (baseline) variant.
    CreatedAt string
    ISO-8601 creation timestamp.
    Hypothesis string
    The hypothesis of the experiment.
    Id string
    The experiment definition ID.
    LaunchCriteria string
    Criteria for launching the experiment.
    Status Pulumi.AwsNative.AppConfig.ExperimentDefinitionStatus
    Current status.
    Tags List<Pulumi.AwsNative.Outputs.Tag>
    Tags to associate with the experiment definition.
    Treatments List<Pulumi.AwsNative.AppConfig.Outputs.ExperimentDefinitionTreatment>
    Treatment variants (1-5).
    UpdatedAt string
    ISO-8601 last update timestamp.
    ApplicationId string
    The resolved application ID (read-only, assigned by service).
    AudienceDescription string
    Human-readable description of the audience.
    AudienceRule string
    Rule expression defining the experiment audience.
    Control ExperimentDefinitionTreatment
    The control (baseline) variant.
    CreatedAt string
    ISO-8601 creation timestamp.
    Hypothesis string
    The hypothesis of the experiment.
    Id string
    The experiment definition ID.
    LaunchCriteria string
    Criteria for launching the experiment.
    Status ExperimentDefinitionStatus
    Current status.
    Tags Tag
    Tags to associate with the experiment definition.
    Treatments []ExperimentDefinitionTreatment
    Treatment variants (1-5).
    UpdatedAt string
    ISO-8601 last update timestamp.
    application_id string
    The resolved application ID (read-only, assigned by service).
    audience_description string
    Human-readable description of the audience.
    audience_rule string
    Rule expression defining the experiment audience.
    control object
    The control (baseline) variant.
    created_at string
    ISO-8601 creation timestamp.
    hypothesis string
    The hypothesis of the experiment.
    id string
    The experiment definition ID.
    launch_criteria string
    Criteria for launching the experiment.
    status "ACTIVE" | "IDLE" | "ARCHIVED"
    Current status.
    tags list(object)
    Tags to associate with the experiment definition.
    treatments list(object)
    Treatment variants (1-5).
    updated_at string
    ISO-8601 last update timestamp.
    applicationId String
    The resolved application ID (read-only, assigned by service).
    audienceDescription String
    Human-readable description of the audience.
    audienceRule String
    Rule expression defining the experiment audience.
    control ExperimentDefinitionTreatment
    The control (baseline) variant.
    createdAt String
    ISO-8601 creation timestamp.
    hypothesis String
    The hypothesis of the experiment.
    id String
    The experiment definition ID.
    launchCriteria String
    Criteria for launching the experiment.
    status ExperimentDefinitionStatus
    Current status.
    tags List<Tag>
    Tags to associate with the experiment definition.
    treatments List<ExperimentDefinitionTreatment>
    Treatment variants (1-5).
    updatedAt String
    ISO-8601 last update timestamp.
    applicationId string
    The resolved application ID (read-only, assigned by service).
    audienceDescription string
    Human-readable description of the audience.
    audienceRule string
    Rule expression defining the experiment audience.
    control ExperimentDefinitionTreatment
    The control (baseline) variant.
    createdAt string
    ISO-8601 creation timestamp.
    hypothesis string
    The hypothesis of the experiment.
    id string
    The experiment definition ID.
    launchCriteria string
    Criteria for launching the experiment.
    status ExperimentDefinitionStatus
    Current status.
    tags Tag[]
    Tags to associate with the experiment definition.
    treatments ExperimentDefinitionTreatment[]
    Treatment variants (1-5).
    updatedAt string
    ISO-8601 last update timestamp.
    application_id str
    The resolved application ID (read-only, assigned by service).
    audience_description str
    Human-readable description of the audience.
    audience_rule str
    Rule expression defining the experiment audience.
    control ExperimentDefinitionTreatment
    The control (baseline) variant.
    created_at str
    ISO-8601 creation timestamp.
    hypothesis str
    The hypothesis of the experiment.
    id str
    The experiment definition ID.
    launch_criteria str
    Criteria for launching the experiment.
    status ExperimentDefinitionStatus
    Current status.
    tags Sequence[root_Tag]
    Tags to associate with the experiment definition.
    treatments Sequence[ExperimentDefinitionTreatment]
    Treatment variants (1-5).
    updated_at str
    ISO-8601 last update timestamp.
    applicationId String
    The resolved application ID (read-only, assigned by service).
    audienceDescription String
    Human-readable description of the audience.
    audienceRule String
    Rule expression defining the experiment audience.
    control Property Map
    The control (baseline) variant.
    createdAt String
    ISO-8601 creation timestamp.
    hypothesis String
    The hypothesis of the experiment.
    id String
    The experiment definition ID.
    launchCriteria String
    Criteria for launching the experiment.
    status "ACTIVE" | "IDLE" | "ARCHIVED"
    Current status.
    tags List<Property Map>
    Tags to associate with the experiment definition.
    treatments List<Property Map>
    Treatment variants (1-5).
    updatedAt String
    ISO-8601 last update timestamp.

    Supporting Types

    ExperimentDefinitionAttributeValue

    BooleanValue bool
    A boolean value.
    NumberArray List<double>
    An array of numeric values.
    NumberValue double
    A numeric value.
    StringArray List<string>
    An array of string values.
    StringValue string
    A string value.
    BooleanValue bool
    A boolean value.
    NumberArray []float64
    An array of numeric values.
    NumberValue float64
    A numeric value.
    StringArray []string
    An array of string values.
    StringValue string
    A string value.
    boolean_value bool
    A boolean value.
    number_array list(number)
    An array of numeric values.
    number_value number
    A numeric value.
    string_array list(string)
    An array of string values.
    string_value string
    A string value.
    booleanValue Boolean
    A boolean value.
    numberArray List<Double>
    An array of numeric values.
    numberValue Double
    A numeric value.
    stringArray List<String>
    An array of string values.
    stringValue String
    A string value.
    booleanValue boolean
    A boolean value.
    numberArray number[]
    An array of numeric values.
    numberValue number
    A numeric value.
    stringArray string[]
    An array of string values.
    stringValue string
    A string value.
    boolean_value bool
    A boolean value.
    number_array Sequence[float]
    An array of numeric values.
    number_value float
    A numeric value.
    string_array Sequence[str]
    An array of string values.
    string_value str
    A string value.
    booleanValue Boolean
    A boolean value.
    numberArray List<Number>
    An array of numeric values.
    numberValue Number
    A numeric value.
    stringArray List<String>
    An array of string values.
    stringValue String
    A string value.

    ExperimentDefinitionStatus

    ExperimentDefinitionTreatment

    Enabled bool
    Whether the flag is enabled for this variant.
    Weight double
    Traffic weight percentage.
    AttributeValues Dictionary<string, Pulumi.AwsNative.AppConfig.Inputs.ExperimentDefinitionAttributeValue>
    Map of attribute name to attribute value.
    Description string
    Key string
    The treatment key (read-only, auto-generated by service).
    Enabled bool
    Whether the flag is enabled for this variant.
    Weight float64
    Traffic weight percentage.
    AttributeValues map[string]ExperimentDefinitionAttributeValue
    Map of attribute name to attribute value.
    Description string
    Key string
    The treatment key (read-only, auto-generated by service).
    enabled bool
    Whether the flag is enabled for this variant.
    weight number
    Traffic weight percentage.
    attribute_values map(object)
    Map of attribute name to attribute value.
    description string
    key string
    The treatment key (read-only, auto-generated by service).
    enabled Boolean
    Whether the flag is enabled for this variant.
    weight Double
    Traffic weight percentage.
    attributeValues Map<String,ExperimentDefinitionAttributeValue>
    Map of attribute name to attribute value.
    description String
    key String
    The treatment key (read-only, auto-generated by service).
    enabled boolean
    Whether the flag is enabled for this variant.
    weight number
    Traffic weight percentage.
    attributeValues {[key: string]: ExperimentDefinitionAttributeValue}
    Map of attribute name to attribute value.
    description string
    key string
    The treatment key (read-only, auto-generated by service).
    enabled bool
    Whether the flag is enabled for this variant.
    weight float
    Traffic weight percentage.
    attribute_values Mapping[str, ExperimentDefinitionAttributeValue]
    Map of attribute name to attribute value.
    description str
    key str
    The treatment key (read-only, auto-generated by service).
    enabled Boolean
    Whether the flag is enabled for this variant.
    weight Number
    Traffic weight percentage.
    attributeValues Map<Property Map>
    Map of attribute name to attribute value.
    description String
    key String
    The treatment key (read-only, auto-generated by service).

    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 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 aws-native logo

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

    Viewing docs for AWS Cloud Control v1.76.0
    published on Monday, Aug 24, 2026 by Pulumi

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial