@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:36.009Z") @Stability(value=Stable) public class CfnConfiguration extends CfnResource implements IInspectable
Creates a new configuration for the specified configuration name. Amazon MQ uses the default configuration (the engine type and version).
Does not apply to RabbitMQ brokers.
Example:
// 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.*;
CfnConfiguration cfnConfiguration = CfnConfiguration.Builder.create(this, "MyCfnConfiguration")
.data("data")
.engineType("engineType")
.engineVersion("engineVersion")
.name("name")
// the properties below are optional
.authenticationStrategy("authenticationStrategy")
.description("description")
.tags(List.of(TagsEntryProperty.builder()
.key("key")
.value("value")
.build()))
.build();
| Modifier and Type | Class and Description |
|---|---|
static class |
CfnConfiguration.Builder
A fluent builder for
CfnConfiguration. |
static interface |
CfnConfiguration.TagsEntryProperty
A key-value pair to associate with the configuration.
|
software.amazon.jsii.JsiiObject.InitializationModeIInspectable.Jsii$Default, IInspectable.Jsii$Proxy| Modifier and Type | Field and Description |
|---|---|
static String |
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
|
| Modifier | Constructor and Description |
|---|---|
|
CfnConfiguration(software.constructs.Construct scope,
String id,
CfnConfigurationProps props)
Create a new `AWS::AmazonMQ::Configuration`.
|
protected |
CfnConfiguration(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
CfnConfiguration(software.amazon.jsii.JsiiObjectRef objRef) |
| Modifier and Type | Method and Description |
|---|---|
String |
getAttrArn()
The Amazon Resource Name (ARN) of the Amazon MQ configuration.
|
String |
getAttrId()
The ID of the Amazon MQ configuration.
|
Number |
getAttrRevision()
The revision number of the configuration.
|
String |
getAuthenticationStrategy()
Optional.
|
protected Map<String,Object> |
getCfnProperties() |
String |
getData()
The base64-encoded XML configuration.
|
String |
getDescription()
The description of the configuration.
|
String |
getEngineType()
The type of broker engine.
|
String |
getEngineVersion()
The version of the broker engine.
|
String |
getName()
The name of the configuration.
|
TagManager |
getTags()
Create tags when creating the configuration.
|
void |
inspect(TreeInspector inspector)
Examines the CloudFormation resource and discloses attributes.
|
protected Map<String,Object> |
renderProperties(Map<String,Object> props) |
void |
setAuthenticationStrategy(String value)
Optional.
|
void |
setData(String value)
The base64-encoded XML configuration.
|
void |
setDescription(String value)
The description of the configuration.
|
void |
setEngineType(String value)
The type of broker engine.
|
void |
setEngineVersion(String value)
The version of the broker engine.
|
void |
setName(String value)
The name of the configuration.
|
addDeletionOverride, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getCfnOptions, getCfnResourceType, getMetadata, getUpdatedProperites, getUpdatedProperties, isCfnResource, shouldSynthesize, toString, validatePropertiesgetRefgetCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalIdjsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet@Stability(value=Stable) public static final String CFN_RESOURCE_TYPE_NAME
protected CfnConfiguration(software.amazon.jsii.JsiiObjectRef objRef)
protected CfnConfiguration(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Stable)
public CfnConfiguration(@NotNull
software.constructs.Construct scope,
@NotNull
String id,
@NotNull
CfnConfigurationProps props)
scope - - scope in which this resource is defined. This parameter is required.id - - scoped id of the resource. This parameter is required.props - - resource properties. This parameter is required.@Stability(value=Stable)
public void inspect(@NotNull
TreeInspector inspector)
inspect in interface IInspectableinspector - - tree inspector to collect and process attributes. This parameter is required.@Stability(value=Stable) @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String,Object> props)
renderProperties in class CfnResourceprops - This parameter is required.@Stability(value=Stable) @NotNull public String getAttrArn()
arn:aws:mq:us-east-2:123456789012:configuration:MyConfigurationDevelopment:c-1234a5b6-78cd-901e-2fgh-3i45j6k178l9
@Stability(value=Stable) @NotNull public String getAttrId()
c-1234a5b6-78cd-901e-2fgh-3i45j6k178l9
@Stability(value=Stable) @NotNull public Number getAttrRevision()
1
@Stability(value=Stable) @NotNull protected Map<String,Object> getCfnProperties()
getCfnProperties in class CfnResource@Stability(value=Stable) @NotNull public TagManager getTags()
@Stability(value=Stable) @NotNull public String getData()
@Stability(value=Stable)
public void setData(@NotNull
String value)
@Stability(value=Stable) @NotNull public String getEngineType()
Note: Currently, Amazon MQ only supports ACTIVEMQ for creating and editing broker configurations.
@Stability(value=Stable)
public void setEngineType(@NotNull
String value)
Note: Currently, Amazon MQ only supports ACTIVEMQ for creating and editing broker configurations.
@Stability(value=Stable) @NotNull public String getEngineVersion()
@Stability(value=Stable)
public void setEngineVersion(@NotNull
String value)
@Stability(value=Stable) @NotNull public String getName()
This value can contain only alphanumeric characters, dashes, periods, underscores, and tildes (- . _ ~). This value must be 1-150 characters long.
@Stability(value=Stable)
public void setName(@NotNull
String value)
This value can contain only alphanumeric characters, dashes, periods, underscores, and tildes (- . _ ~). This value must be 1-150 characters long.
@Stability(value=Stable) @Nullable public String getAuthenticationStrategy()
The authentication strategy associated with the configuration. The default is SIMPLE .
@Stability(value=Stable)
public void setAuthenticationStrategy(@Nullable
String value)
The authentication strategy associated with the configuration. The default is SIMPLE .
@Stability(value=Stable) @Nullable public String getDescription()
@Stability(value=Stable)
public void setDescription(@Nullable
String value)
Copyright © 2022. All rights reserved.