Skip to content
v2.278.0

CfnConfigurationProps Struct ​

Properties for defining a CfnConfiguration.

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 cfnConfigurationProps: amazonmq.CfnConfigurationProps = {
  engineType: 'engineType',
  name: 'name',

  // the properties below are optional
  authenticationStrategy: 'authenticationStrategy',
  data: 'data',
  description: 'description',
  engineVersion: 'engineVersion',
  tags: [{
    key: 'key',
    value: 'value',
  }],
};
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_props = amazonmq.CfnConfigurationProps(
    engine_type="engineType",
    name="name",

    # the properties below are optional
    authentication_strategy="authenticationStrategy",
    data="data",
    description="description",
    engine_version="engineVersion",
    tags=[amazonmq.CfnConfiguration.TagsEntryProperty(
        key="key",
        value="value"
    )]
)
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.*;

CfnConfigurationProps cfnConfigurationProps = CfnConfigurationProps.builder()
        .engineType("engineType")
        .name("name")

        // the properties below are optional
        .authenticationStrategy("authenticationStrategy")
        .data("data")
        .description("description")
        .engineVersion("engineVersion")
        .tags(List.of(TagsEntryProperty.builder()
                .key("key")
                .value("value")
                .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 cfnConfigurationProps = new CfnConfigurationProps {
    EngineType = "engineType",
    Name = "name",

    // the properties below are optional
    AuthenticationStrategy = "authenticationStrategy",
    Data = "data",
    Description = "description",
    EngineVersion = "engineVersion",
    Tags = new [] { new TagsEntryProperty {
        Key = "key",
        Value = "value"
    } }
};
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"

cfnConfigurationProps := &CfnConfigurationProps{
	EngineType: jsii.String("engineType"),
	Name: jsii.String("name"),

	// the properties below are optional
	AuthenticationStrategy: jsii.String("authenticationStrategy"),
	Data: jsii.String("data"),
	Description: jsii.String("description"),
	EngineVersion: jsii.String("engineVersion"),
	Tags: []TagsEntryProperty{
		&TagsEntryProperty{
			Key: jsii.String("key"),
			Value: jsii.String("value"),
		},
	},
}

Properties ​

authenticationStrategyoptionalstringauthentication_strategyoptionalstrauthenticationStrategyoptionalStringAuthenticationStrategyoptionalstringAuthenticationStrategyoptional*string #
Optional.

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

dataoptionalstringdataoptionalstrdataoptionalStringDataoptionalstringDataoptional*string #
Amazon MQ for Active MQ: The base64-encoded XML configuration.

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

descriptionoptionalstringdescriptionoptionalstrdescriptionoptionalStringDescriptionoptionalstringDescriptionoptional*string #
The description of the configuration.
engineTypestringengine_typestrengineTypeStringEngineTypestringEngineType*string required #
Required.

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

engineVersionoptionalstringengine_versionoptionalstrengineVersionoptionalStringEngineVersionoptionalstringEngineVersionoptional*string #
The broker engine version.
notes

Defaults to the latest available version for the specified broker engine type. For more information, see the ActiveMQ version management and the RabbitMQ version management sections in the Amazon MQ Developer Guide.

namestringnamestrnameStringNamestringName*string required #
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.

tagsoptionalCfnConfiguration.TagsEntryProperty[]tagsoptionaltyping.List[TagsEntryProperty]tagsoptionalList<TagsEntryProperty>TagsoptionalTagsEntryProperty[]Tagsoptional*[]TagsEntryProperty #
Create tags when creating the configuration.