# ExperimentDefinitionReference

A reference to a ExperimentDefinition resource.

- Source: Generated at build time
- Type last changed: v2.268.0 · 2 Sep 2026

## Example

TypeScript:

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_appconfig as interfaces_appconfig } from 'aws-cdk-lib/interfaces';
const experimentDefinitionReference: interfaces_appconfig.ExperimentDefinitionReference = {
  applicationId: 'applicationId',
  experimentDefinitionId: 'experimentDefinitionId',
};
```

Python:

```python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk.interfaces import aws_appconfig as interfaces_appconfig

experiment_definition_reference = interfaces_appconfig.ExperimentDefinitionReference(
    application_id="applicationId",
    experiment_definition_id="experimentDefinitionId"
)
```

Java:

```java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.interfaces.appconfig.*;

ExperimentDefinitionReference experimentDefinitionReference = ExperimentDefinitionReference.builder()
        .applicationId("applicationId")
        .experimentDefinitionId("experimentDefinitionId")
        .build();
```

C# / .NET:

```csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.Interfaces.AppConfig;

var experimentDefinitionReference = new ExperimentDefinitionReference {
    ApplicationId = "applicationId",
    ExperimentDefinitionId = "experimentDefinitionId"
};
```

Golang:

```go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

experimentDefinitionReference := &ExperimentDefinitionReference{
	ApplicationId: jsii.String("applicationId"),
	ExperimentDefinitionId: jsii.String("experimentDefinitionId"),
}
```

## Properties

- `applicationId`: string (required) — The ApplicationId of the ExperimentDefinition resource.

- `experimentDefinitionId`: string (required) — The Id of the ExperimentDefinition resource.
