Skip to content
v2.278.0

ExperimentDefinitionReference Struct ​

A reference to a ExperimentDefinition resource.

Example ​

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
# 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
// 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();
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"
};
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 ​

applicationIdstringapplication_idstrapplicationIdStringApplicationIdstringApplicationId*string required #
The ApplicationId of the ExperimentDefinition resource.
experimentDefinitionIdstringexperiment_definition_idstrexperimentDefinitionIdStringExperimentDefinitionIdstringExperimentDefinitionId*string required #
The Id of the ExperimentDefinition resource.