AWS::AmazonMQ::ConfigurationAssociation - Amazon CloudFormation
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

This is the new Amazon CloudFormation Template Reference Guide. Please update your bookmarks and links. For help getting started with CloudFormation, see the Amazon CloudFormation User Guide.

AWS::AmazonMQ::ConfigurationAssociation

The AWS::AmazonMQ::ConfigurationAssociation resource Property description not available. for AmazonMQ.

Syntax

To declare this entity in your Amazon CloudFormation template, use the following syntax:

JSON

{ "Type" : "AWS::AmazonMQ::ConfigurationAssociation", "Properties" : { "Broker" : String, "Configuration" : ConfigurationId } }

YAML

Type: AWS::AmazonMQ::ConfigurationAssociation Properties: Broker: String Configuration: ConfigurationId

Properties

Broker

Property description not available.

Required: Yes

Type: String

Update requires: Replacement

Configuration

Returns information about all configurations.

Required: Yes

Type: ConfigurationId

Update requires: No interruption

Return values

Ref

When you pass the logical ID of this resource to the intrinsic Ref function, Ref returns the Amazon MQ configurationassociation ID. For example:

c-1234a5b6-78cd-901e-2fgh-3i45j6k178l9

For more information about using the Ref function, see Ref.

Fn::GetAtt

Examples

ConfigurationAssociation

The following example creates an Amazon MQ for ActiveMQ ConfigurationAssociation.

JSON

"ConfigurationAssociation1": { "Type": "AWS::AmazonMQ::ConfigurationAssociation", "Properties": { "Broker": { "Ref": "Broker1" }, "Configuration": { "Id": { "Ref": "Configuration1" }, "Revision": { "Fn::GetAtt": [ "Configuration1", "Revision" ] } } } }

YAML

ConfigurationAssociation1: Type: AWS::AmazonMQ::ConfigurationAssociation Properties: Broker: {Ref: Broker1} Configuration: Id: {Ref: Configuration1} Revision: {'Fn::GetAtt': [Configuration1, Revision]}