Skip to content
v2.277.0

ConfigurationReference Struct ​

A reference to a Configuration resource.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_amazonmq as interfaces_amazonmq } from 'aws-cdk-lib/interfaces';
const configurationReference: interfaces_amazonmq.ConfigurationReference = {
  configurationArn: 'configurationArn',
  configurationId: 'configurationId',
};
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_amazonmq as interfaces_amazonmq

configuration_reference = interfaces_amazonmq.ConfigurationReference(
    configuration_arn="configurationArn",
    configuration_id="configurationId"
)
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.amazonmq.*;

ConfigurationReference configurationReference = ConfigurationReference.builder()
        .configurationArn("configurationArn")
        .configurationId("configurationId")
        .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.AmazonMQ;

var configurationReference = new ConfigurationReference {
    ConfigurationArn = "configurationArn",
    ConfigurationId = "configurationId"
};
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"

configurationReference := &ConfigurationReference{
	ConfigurationArn: jsii.String("configurationArn"),
	ConfigurationId: jsii.String("configurationId"),
}

Properties ​

configurationArnstringconfiguration_arnstrconfigurationArnStringConfigurationArnstringConfigurationArn*stringrequired#
The ARN of the Configuration resource.
configurationIdstringconfiguration_idstrconfigurationIdStringConfigurationIdstringConfigurationId*stringrequired#
The Id of the Configuration resource.