We recommend new projects start with resources from the AWS provider.
published on Monday, Aug 24, 2026 by Pulumi
We recommend new projects start with resources from the AWS provider.
published on Monday, Aug 24, 2026 by Pulumi
Resource Type definition for AWS::AppConfig::ExperimentDefinition
Create ExperimentDefinition Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new ExperimentDefinition(name: string, args: ExperimentDefinitionArgs, opts?: CustomResourceOptions);@overload
def ExperimentDefinition(resource_name: str,
args: ExperimentDefinitionArgs,
opts: Optional[ResourceOptions] = None)
@overload
def ExperimentDefinition(resource_name: str,
opts: Optional[ResourceOptions] = None,
application_identifier: Optional[str] = None,
audience_rule: Optional[str] = None,
configuration_profile_identifier: Optional[str] = None,
control: Optional[ExperimentDefinitionTreatmentArgs] = None,
environment_identifier: Optional[str] = None,
flag_key: Optional[str] = None,
treatments: Optional[Sequence[ExperimentDefinitionTreatmentArgs]] = None,
audience_description: Optional[str] = None,
hypothesis: Optional[str] = None,
launch_criteria: Optional[str] = None,
name: Optional[str] = None,
tags: Optional[Sequence[_root_inputs.TagArgs]] = None)func NewExperimentDefinition(ctx *Context, name string, args ExperimentDefinitionArgs, opts ...ResourceOption) (*ExperimentDefinition, error)public ExperimentDefinition(string name, ExperimentDefinitionArgs args, CustomResourceOptions? opts = null)
public ExperimentDefinition(String name, ExperimentDefinitionArgs args)
public ExperimentDefinition(String name, ExperimentDefinitionArgs args, CustomResourceOptions options)
type: aws-native:appconfig:ExperimentDefinition
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
resource "aws-native_appconfig_experiment_definition" "name" {
# resource properties
}Parameters
- name string
- The unique name of the resource.
- args ExperimentDefinitionArgs
- 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 ExperimentDefinitionArgs
- 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 ExperimentDefinitionArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ExperimentDefinitionArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ExperimentDefinitionArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
ExperimentDefinition Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The ExperimentDefinition resource accepts the following input properties:
- Application
Identifier string - The application ID, name, or ARN.
- Audience
Rule string - Rule expression defining the experiment audience.
- Configuration
Profile stringIdentifier - The configuration profile ID, name, or ARN.
- Control
Pulumi.
Aws Native. App Config. Inputs. Experiment Definition Treatment - The control (baseline) variant.
- Environment
Identifier string - The environment ID, name, or ARN.
- Flag
Key string - The key of the existing flag in the configuration profile to experiment on.
- Treatments
List<Pulumi.
Aws Native. App Config. Inputs. Experiment Definition Treatment> - Treatment variants (1-5).
- Audience
Description string - Human-readable description of the audience.
- Hypothesis string
- The hypothesis of the experiment.
- Launch
Criteria string - Criteria for launching the experiment.
- Name string
- A name for the experiment definition.
-
List<Pulumi.
Aws Native. Inputs. Tag> - Tags to associate with the experiment definition.
- Application
Identifier string - The application ID, name, or ARN.
- Audience
Rule string - Rule expression defining the experiment audience.
- Configuration
Profile stringIdentifier - The configuration profile ID, name, or ARN.
- Control
Experiment
Definition Treatment Args - The control (baseline) variant.
- Environment
Identifier string - The environment ID, name, or ARN.
- Flag
Key string - The key of the existing flag in the configuration profile to experiment on.
- Treatments
[]Experiment
Definition Treatment Args - Treatment variants (1-5).
- Audience
Description string - Human-readable description of the audience.
- Hypothesis string
- The hypothesis of the experiment.
- Launch
Criteria string - Criteria for launching the experiment.
- Name string
- A name for the experiment definition.
-
Tag
Args - Tags to associate with the experiment definition.
- application_
identifier string - The application ID, name, or ARN.
- audience_
rule string - Rule expression defining the experiment audience.
- configuration_
profile_ stringidentifier - The configuration profile ID, name, or ARN.
- control object
- The control (baseline) variant.
- environment_
identifier string - The environment ID, name, or ARN.
- flag_
key string - The key of the existing flag in the configuration profile to experiment on.
- treatments list(object)
- Treatment variants (1-5).
- audience_
description string - Human-readable description of the audience.
- hypothesis string
- The hypothesis of the experiment.
- launch_
criteria string - Criteria for launching the experiment.
- name string
- A name for the experiment definition.
- list(object)
- Tags to associate with the experiment definition.
- application
Identifier String - The application ID, name, or ARN.
- audience
Rule String - Rule expression defining the experiment audience.
- configuration
Profile StringIdentifier - The configuration profile ID, name, or ARN.
- control
Experiment
Definition Treatment - The control (baseline) variant.
- environment
Identifier String - The environment ID, name, or ARN.
- flag
Key String - The key of the existing flag in the configuration profile to experiment on.
- treatments
List<Experiment
Definition Treatment> - Treatment variants (1-5).
- audience
Description String - Human-readable description of the audience.
- hypothesis String
- The hypothesis of the experiment.
- launch
Criteria String - Criteria for launching the experiment.
- name String
- A name for the experiment definition.
- List<Tag>
- Tags to associate with the experiment definition.
- application
Identifier string - The application ID, name, or ARN.
- audience
Rule string - Rule expression defining the experiment audience.
- configuration
Profile stringIdentifier - The configuration profile ID, name, or ARN.
- control
Experiment
Definition Treatment - The control (baseline) variant.
- environment
Identifier string - The environment ID, name, or ARN.
- flag
Key string - The key of the existing flag in the configuration profile to experiment on.
- treatments
Experiment
Definition Treatment[] - Treatment variants (1-5).
- audience
Description string - Human-readable description of the audience.
- hypothesis string
- The hypothesis of the experiment.
- launch
Criteria string - Criteria for launching the experiment.
- name string
- A name for the experiment definition.
- Tag[]
- Tags to associate with the experiment definition.
- application_
identifier str - The application ID, name, or ARN.
- audience_
rule str - Rule expression defining the experiment audience.
- configuration_
profile_ stridentifier - The configuration profile ID, name, or ARN.
- control
Experiment
Definition Treatment Args - The control (baseline) variant.
- environment_
identifier str - The environment ID, name, or ARN.
- flag_
key str - The key of the existing flag in the configuration profile to experiment on.
- treatments
Sequence[Experiment
Definition Treatment Args] - Treatment variants (1-5).
- audience_
description str - Human-readable description of the audience.
- hypothesis str
- The hypothesis of the experiment.
- launch_
criteria str - Criteria for launching the experiment.
- name str
- A name for the experiment definition.
-
Sequence[Tag
Args] - Tags to associate with the experiment definition.
- application
Identifier String - The application ID, name, or ARN.
- audience
Rule String - Rule expression defining the experiment audience.
- configuration
Profile StringIdentifier - The configuration profile ID, name, or ARN.
- control Property Map
- The control (baseline) variant.
- environment
Identifier String - The environment ID, name, or ARN.
- flag
Key String - The key of the existing flag in the configuration profile to experiment on.
- treatments List<Property Map>
- Treatment variants (1-5).
- audience
Description String - Human-readable description of the audience.
- hypothesis String
- The hypothesis of the experiment.
- launch
Criteria String - Criteria for launching the experiment.
- name String
- A name for the experiment definition.
- List<Property Map>
- Tags to associate with the experiment definition.
Outputs
All input properties are implicitly available as output properties. Additionally, the ExperimentDefinition resource produces the following output properties:
- Application
Id string - The resolved application ID (read-only, assigned by service).
- Aws
Id string - The experiment definition ID.
- Created
At string - ISO-8601 creation timestamp.
- Id string
- The provider-assigned unique ID for this managed resource.
- Status
Pulumi.
Aws Native. App Config. Experiment Definition Status - Current status.
- Updated
At string - ISO-8601 last update timestamp.
- Application
Id string - The resolved application ID (read-only, assigned by service).
- Aws
Id string - The experiment definition ID.
- Created
At string - ISO-8601 creation timestamp.
- Id string
- The provider-assigned unique ID for this managed resource.
- Status
Experiment
Definition Status - Current status.
- Updated
At string - ISO-8601 last update timestamp.
- application_
id string - The resolved application ID (read-only, assigned by service).
- aws_
id string - The experiment definition ID.
- created_
at string - ISO-8601 creation timestamp.
- id string
- The provider-assigned unique ID for this managed resource.
- status "ACTIVE" | "IDLE" | "ARCHIVED"
- Current status.
- updated_
at string - ISO-8601 last update timestamp.
- application
Id String - The resolved application ID (read-only, assigned by service).
- aws
Id String - The experiment definition ID.
- created
At String - ISO-8601 creation timestamp.
- id String
- The provider-assigned unique ID for this managed resource.
- status
Experiment
Definition Status - Current status.
- updated
At String - ISO-8601 last update timestamp.
- application
Id string - The resolved application ID (read-only, assigned by service).
- aws
Id string - The experiment definition ID.
- created
At string - ISO-8601 creation timestamp.
- id string
- The provider-assigned unique ID for this managed resource.
- status
Experiment
Definition Status - Current status.
- updated
At string - ISO-8601 last update timestamp.
- application_
id str - The resolved application ID (read-only, assigned by service).
- aws_
id str - The experiment definition ID.
- created_
at str - ISO-8601 creation timestamp.
- id str
- The provider-assigned unique ID for this managed resource.
- status
Experiment
Definition Status - Current status.
- updated_
at str - ISO-8601 last update timestamp.
- application
Id String - The resolved application ID (read-only, assigned by service).
- aws
Id String - The experiment definition ID.
- created
At String - ISO-8601 creation timestamp.
- id String
- The provider-assigned unique ID for this managed resource.
- status "ACTIVE" | "IDLE" | "ARCHIVED"
- Current status.
- updated
At String - ISO-8601 last update timestamp.
Supporting Types
ExperimentDefinitionAttributeValue, ExperimentDefinitionAttributeValueArgs
A typed attribute value for a treatment flag.- Boolean
Value bool - A boolean value.
- Number
Array List<double> - An array of numeric values.
- Number
Value double - A numeric value.
- String
Array List<string> - An array of string values.
- String
Value string - A string value.
- Boolean
Value bool - A boolean value.
- Number
Array []float64 - An array of numeric values.
- Number
Value float64 - A numeric value.
- String
Array []string - An array of string values.
- String
Value 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.
- boolean
Value Boolean - A boolean value.
- number
Array List<Double> - An array of numeric values.
- number
Value Double - A numeric value.
- string
Array List<String> - An array of string values.
- string
Value String - A string value.
- boolean
Value boolean - A boolean value.
- number
Array number[] - An array of numeric values.
- number
Value number - A numeric value.
- string
Array string[] - An array of string values.
- string
Value 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.
- boolean
Value Boolean - 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.
ExperimentDefinitionStatus, ExperimentDefinitionStatusArgs
- Active
ACTIVE- Idle
IDLE- Archived
ARCHIVED
- Experiment
Definition Status Active ACTIVE- Experiment
Definition Status Idle IDLE- Experiment
Definition Status Archived ARCHIVED
- "ACTIVE"
ACTIVE- "IDLE"
IDLE- "ARCHIVED"
ARCHIVED
- Active
ACTIVE- Idle
IDLE- Archived
ARCHIVED
- Active
ACTIVE- Idle
IDLE- Archived
ARCHIVED
- ACTIVE
ACTIVE- IDLE
IDLE- ARCHIVED
ARCHIVED
- "ACTIVE"
ACTIVE- "IDLE"
IDLE- "ARCHIVED"
ARCHIVED
ExperimentDefinitionTreatment, ExperimentDefinitionTreatmentArgs
A treatment variant with weight and flag value. The Key is auto-generated by the service.- Enabled bool
- Whether the flag is enabled for this variant.
- Weight double
- Traffic weight percentage.
- Attribute
Values Dictionary<string, Pulumi.Aws Native. App Config. Inputs. Experiment Definition Attribute Value> - 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.
- Attribute
Values map[string]ExperimentDefinition Attribute Value - 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.
- attribute
Values Map<String,ExperimentDefinition Attribute Value> - 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.
- attribute
Values {[key: string]: ExperimentDefinition Attribute Value} - 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, ExperimentDefinition Attribute Value] - 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.
- attribute
Values Map<Property Map> - Map of attribute name to attribute value.
- description String
- key String
- The treatment key (read-only, auto-generated by service).
Tag, TagArgs
A set of tags to apply to the resource.Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
We recommend new projects start with resources from the AWS provider.
published on Monday, Aug 24, 2026 by Pulumi