# CfnConfigurationProps

Properties for defining a `CfnConfiguration`.

Used as props by: [CfnConfiguration](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_amazonmq.CfnConfiguration.html)

- Source: Generated at build time
- Type last changed: v2.173.0 · 12 Dec 2024

## Example

TypeScript:

```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:

```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:

```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();
```

C# / .NET:

```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"
    } }
};
```

Golang:

```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

- `authenticationStrategy`: string — Optional.

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

- `data`: string — Amazon MQ for Active MQ: The base64-encoded XML configuration.

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

- `description`: string — The description of the configuration.

- `engineType`: string (required) — Required.

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

- `engineVersion`: 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.

- `name`: 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.

- `tags`: [CfnConfiguration.TagsEntryProperty](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_amazonmq.CfnConfiguration.TagsEntryProperty.html)[] — Create tags when creating the configuration.
