CfnConfigurationAssociationProps Struct
Properties for defining a CfnConfigurationAssociation.
| Source |
|---|
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 amazonmq } from 'aws-cdk-lib';
const cfnConfigurationAssociationProps: amazonmq.CfnConfigurationAssociationProps = {
broker: 'broker',
configuration: {
id: 'id',
revision: 123,
},
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_amazonmq as amazonmq
cfn_configuration_association_props = amazonmq.CfnConfigurationAssociationProps(
broker="broker",
configuration=amazonmq.CfnConfigurationAssociation.ConfigurationIdProperty(
id="id",
revision=123
)
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.amazonmq.*;
CfnConfigurationAssociationProps cfnConfigurationAssociationProps = CfnConfigurationAssociationProps.builder()
.broker("broker")
.configuration(ConfigurationIdProperty.builder()
.id("id")
.revision(123)
.build())
.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.AWS.AmazonMQ;
var cfnConfigurationAssociationProps = new CfnConfigurationAssociationProps {
Broker = "broker",
Configuration = new ConfigurationIdProperty {
Id = "id",
Revision = 123
}
};
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"
cfnConfigurationAssociationProps := &CfnConfigurationAssociationProps{
Broker: jsii.String("broker"),
Configuration: &ConfigurationIdProperty{
Id: jsii.String("id"),
Revision: jsii.Number(123),
},
}
Properties
ID of the Broker that the configuration should be applied to.
configurationIResolvable | CfnConfigurationAssociation.configurationtyping.Union[IResolvable, ConfigurationIdProperty]configurationIResolvableConfigurationIResolvableConfigurationinterface{} required #Returns information about all configurations.