@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:36.010Z") @Stability(value=Stable) public class CfnConfigurationAssociation extends CfnResource implements IInspectable
Use the AWS CloudFormation AWS::AmazonMQ::ConfigurationAssociation resource to associate a configuration with a broker, or return information about the specified ConfigurationAssociation. Only use one per broker, and don't use a configuration on the broker resource if you have associated a configuration with that broker.
Does not apply to RabbitMQ brokers.
Example:
// 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.*;
CfnConfigurationAssociation cfnConfigurationAssociation = CfnConfigurationAssociation.Builder.create(this, "MyCfnConfigurationAssociation")
.broker("broker")
.configuration(ConfigurationIdProperty.builder()
.id("id")
.revision(123)
.build())
.build();
| Modifier and Type | Class and Description |
|---|---|
static class |
CfnConfigurationAssociation.Builder
A fluent builder for
CfnConfigurationAssociation. |
static interface |
CfnConfigurationAssociation.ConfigurationIdProperty
The `ConfigurationId` property type specifies a configuration Id and the revision of a configuration.
|
software.amazon.jsii.JsiiObject.InitializationModeIInspectable.Jsii$Default, IInspectable.Jsii$Proxy| Modifier and Type | Field and Description |
|---|---|
static String |
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
|
| Modifier | Constructor and Description |
|---|---|
|
CfnConfigurationAssociation(software.constructs.Construct scope,
String id,
CfnConfigurationAssociationProps props)
Create a new `AWS::AmazonMQ::ConfigurationAssociation`.
|
protected |
CfnConfigurationAssociation(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
CfnConfigurationAssociation(software.amazon.jsii.JsiiObjectRef objRef) |
| Modifier and Type | Method and Description |
|---|---|
String |
getBroker()
The broker to associate with a configuration.
|
protected Map<String,Object> |
getCfnProperties() |
Object |
getConfiguration()
The configuration to associate with a broker.
|
void |
inspect(TreeInspector inspector)
Examines the CloudFormation resource and discloses attributes.
|
protected Map<String,Object> |
renderProperties(Map<String,Object> props) |
void |
setBroker(String value)
The broker to associate with a configuration.
|
void |
setConfiguration(CfnConfigurationAssociation.ConfigurationIdProperty value)
The configuration to associate with a broker.
|
void |
setConfiguration(IResolvable value)
The configuration to associate with a broker.
|
addDeletionOverride, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getCfnOptions, getCfnResourceType, getMetadata, getUpdatedProperites, getUpdatedProperties, isCfnResource, shouldSynthesize, toString, validatePropertiesgetRefgetCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalIdjsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet@Stability(value=Stable) public static final String CFN_RESOURCE_TYPE_NAME
protected CfnConfigurationAssociation(software.amazon.jsii.JsiiObjectRef objRef)
protected CfnConfigurationAssociation(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Stable)
public CfnConfigurationAssociation(@NotNull
software.constructs.Construct scope,
@NotNull
String id,
@NotNull
CfnConfigurationAssociationProps props)
scope - - scope in which this resource is defined. This parameter is required.id - - scoped id of the resource. This parameter is required.props - - resource properties. This parameter is required.@Stability(value=Stable)
public void inspect(@NotNull
TreeInspector inspector)
inspect in interface IInspectableinspector - - tree inspector to collect and process attributes. This parameter is required.@Stability(value=Stable) @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String,Object> props)
renderProperties in class CfnResourceprops - This parameter is required.@Stability(value=Stable) @NotNull protected Map<String,Object> getCfnProperties()
getCfnProperties in class CfnResource@Stability(value=Stable) @NotNull public String getBroker()
@Stability(value=Stable)
public void setBroker(@NotNull
String value)
@Stability(value=Stable) @NotNull public Object getConfiguration()
@Stability(value=Stable)
public void setConfiguration(@NotNull
CfnConfigurationAssociation.ConfigurationIdProperty value)
@Stability(value=Stable)
public void setConfiguration(@NotNull
IResolvable value)
Copyright © 2022. All rights reserved.