AWS Fundamentals Logo
AWS Fundamentals
L1 ConstructAWS::AmazonMQ::Configuration

CfnConfiguration

Creates a new configuration for the specified configuration name. Amazon MQ uses the default configuration (the engine type and version).

Import

import { CfnConfiguration } from 'aws-cdk-lib/aws-amazonmq';

Or use the module namespace:

import * as amazonmq from 'aws-cdk-lib/aws-amazonmq';
// amazonmq.CfnConfiguration

Properties

Configuration passed to the constructor as CfnConfigurationProps.

engineTypeRequired
string

Required. The type of broker engine. Currently, Amazon MQ supports `ACTIVEMQ` and `RABBITMQ` .

nameRequired
string

Required. The name of the configuration. This value can contain only alphanumeric characters, dashes, periods, underscores, and tildes (- . _ ~). This value must be 1-150 characters long.

authenticationStrategyOptional
string

Optional. The authentication strategy associated with the configuration. The default is `SIMPLE` .

dataOptional
string

Amazon MQ for Active MQ: The base64-encoded XML configuration. Amazon MQ for RabbitMQ: the base64-encoded Cuttlefish configuration.

descriptionOptional
string

The description of the configuration.

engineVersionOptional
string

The broker engine version. Defaults to the latest available version for the specified broker engine type. For more information, see the [ActiveMQ version management](https://docs.aws.amazon.com//amazon-mq/latest/developer-guide/activemq-version-management.html) and the [RabbitMQ version management](https://docs.aws.amazon.com//amazon-mq/latest/developer-guide/rabbitmq-version-management.html) sections in the Amazon MQ Developer Guide.

tagsOptional
TagsEntryProperty[]

Create tags when creating the configuration.

CloudFormation Resource

This L1 construct maps directly to the following CloudFormation resource type.

Learn AWS the Practical Way

Our bi-weekly newsletter teaches hands-on AWS fundamentals. No certification fluff - just practical knowledge.

Subscribe to Newsletter