Class CfnConfiguration.Builder
java.lang.Object
software.amazon.awscdk.services.amazonmq.CfnConfiguration.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnConfiguration>
- Enclosing class:
CfnConfiguration
@Stability(Stable)
public static final class CfnConfiguration.Builder
extends Object
implements software.amazon.jsii.Builder<CfnConfiguration>
A fluent builder for
CfnConfiguration.-
Method Summary
Modifier and TypeMethodDescriptionauthenticationStrategy(String authenticationStrategy) Optional.build()static CfnConfiguration.BuilderAmazon MQ for Active MQ: The base64-encoded XML configuration.description(String description) The description of the configuration.engineType(String engineType) Required.engineVersion(String engineVersion) The broker engine version.Required.tags(List<? extends CfnConfiguration.TagsEntryProperty> tags) Create tags when creating the configuration.
-
Method Details
-
create
@Stability(Stable) public static CfnConfiguration.Builder create(software.constructs.Construct scope, String id) - Parameters:
scope- Scope in which this resource is defined. This parameter is required.id- Construct identifier for this resource (unique in its scope). This parameter is required.- Returns:
- a new instance of
CfnConfiguration.Builder.
-
engineType
Required.The type of broker engine. Currently, Amazon MQ supports
ACTIVEMQandRABBITMQ.- Parameters:
engineType- Required. This parameter is required.- Returns:
this- See Also:
-
name
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.
- Parameters:
name- Required. This parameter is required.- Returns:
this- See Also:
-
authenticationStrategy
@Stability(Stable) public CfnConfiguration.Builder authenticationStrategy(String authenticationStrategy) Optional.The authentication strategy associated with the configuration. The default is
SIMPLE.- Parameters:
authenticationStrategy- Optional. This parameter is required.- Returns:
this- See Also:
-
data
Amazon MQ for Active MQ: The base64-encoded XML configuration.Amazon MQ for RabbitMQ: the base64-encoded Cuttlefish configuration.
- Parameters:
data- Amazon MQ for Active MQ: The base64-encoded XML configuration. This parameter is required.- Returns:
this- See Also:
-
description
The description of the configuration.- Parameters:
description- The description of the configuration. This parameter is required.- Returns:
this- See Also:
-
engineVersion
The broker engine version.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.
- Parameters:
engineVersion- The broker engine version. This parameter is required.- Returns:
this- See Also:
-
tags
@Stability(Stable) public CfnConfiguration.Builder tags(List<? extends CfnConfiguration.TagsEntryProperty> tags) Create tags when creating the configuration.- Parameters:
tags- Create tags when creating the configuration. This parameter is required.- Returns:
this- See Also:
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnConfiguration>- Returns:
- a newly built instance of
CfnConfiguration.
-