Class CfnConfiguration
Creates a new configuration for the specified configuration name.
Inherited Members
Namespace: Amazon.CDK.AWS.AmazonMQ
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnConfiguration : CfnResource, IInspectable, IConfigurationRef, IConstruct, IDependable, IEnvironmentAware, ITaggable
Syntax (vb)
Public Class CfnConfiguration Inherits CfnResource Implements IInspectable, IConfigurationRef, IConstruct, IDependable, IEnvironmentAware, ITaggable
Remarks
Amazon MQ uses the default configuration (the engine type and version).
CloudformationResource: AWS::AmazonMQ::Configuration
ExampleMetadata: fixture=_generated
Examples
// 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 cfnConfiguration = new CfnConfiguration(this, "MyCfnConfiguration", 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"
} }
});
Synopsis
Constructors
| CfnConfiguration(Construct, string, ICfnConfigurationProps) | Create a new |
Properties
| AttrArn | The Amazon Resource Name (ARN) of the Amazon MQ configuration. |
| AttrId | The ID of the Amazon MQ configuration. |
| AttrRevision | The revision number of the configuration. |
| AuthenticationStrategy | Optional. |
| CFN_RESOURCE_TYPE_NAME | The CloudFormation resource type name for this resource class. |
| CfnProperties | Creates a new configuration for the specified configuration name. |
| ConfigurationRef | A reference to a Configuration resource. |
| Data | Amazon MQ for Active MQ: The base64-encoded XML configuration. |
| Description | The description of the configuration. |
| EngineType | Required. |
| EngineVersion | The broker engine version. |
| Name | Required. |
| Tags | Tag Manager which manages the tags for this resource. |
| TagsRaw | Create tags when creating the configuration. |
Methods
| ArnForConfiguration(IConfigurationRef) | Creates a new configuration for the specified configuration name. |
| FromConfigurationArn(Construct, string, string) | Creates a new IConfigurationRef from an ARN. |
| FromConfigurationId(Construct, string, string) | Creates a new IConfigurationRef from a configurationId. |
| Inspect(TreeInspector) | Examines the CloudFormation resource and discloses attributes. |
| IsCfnConfiguration(object) | Checks whether the given object is a CfnConfiguration. |
| RenderProperties(IDictionary<string, object>) | Creates a new configuration for the specified configuration name. |
Constructors
CfnConfiguration(Construct, string, ICfnConfigurationProps)
Create a new AWS::AmazonMQ::Configuration.
public CfnConfiguration(Construct scope, string id, ICfnConfigurationProps props)
Parameters
- scope Construct
Scope in which this resource is defined.
- id string
Construct identifier for this resource (unique in its scope).
- props ICfnConfigurationProps
Resource properties.
Remarks
Amazon MQ uses the default configuration (the engine type and version).
CloudformationResource: AWS::AmazonMQ::Configuration
ExampleMetadata: fixture=_generated
Properties
AttrArn
The Amazon Resource Name (ARN) of the Amazon MQ configuration.
public virtual string AttrArn { get; }
Property Value
Remarks
arn:aws:mq:us-east-2:123456789012:configuration:MyConfigurationDevelopment:c-1234a5b6-78cd-901e-2fgh-3i45j6k178l9
CloudformationAttribute: Arn
AttrId
The ID of the Amazon MQ configuration.
public virtual string AttrId { get; }
Property Value
Remarks
c-1234a5b6-78cd-901e-2fgh-3i45j6k178l9
CloudformationAttribute: Id
AttrRevision
The revision number of the configuration.
public virtual double AttrRevision { get; }
Property Value
Remarks
1
CloudformationAttribute: Revision
AuthenticationStrategy
Optional.
public virtual string? AuthenticationStrategy { get; set; }
Property Value
Remarks
Amazon MQ uses the default configuration (the engine type and version).
CloudformationResource: AWS::AmazonMQ::Configuration
ExampleMetadata: fixture=_generated
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
public static string CFN_RESOURCE_TYPE_NAME { get; }
Property Value
Remarks
Amazon MQ uses the default configuration (the engine type and version).
CloudformationResource: AWS::AmazonMQ::Configuration
ExampleMetadata: fixture=_generated
CfnProperties
Creates a new configuration for the specified configuration name.
protected override IDictionary<string, object> CfnProperties { get; }
Property Value
Overrides
Remarks
Amazon MQ uses the default configuration (the engine type and version).
CloudformationResource: AWS::AmazonMQ::Configuration
ExampleMetadata: fixture=_generated
ConfigurationRef
A reference to a Configuration resource.
public virtual IConfigurationReference ConfigurationRef { get; }
Property Value
Remarks
Amazon MQ uses the default configuration (the engine type and version).
CloudformationResource: AWS::AmazonMQ::Configuration
ExampleMetadata: fixture=_generated
Data
Amazon MQ for Active MQ: The base64-encoded XML configuration.
public virtual string? Data { get; set; }
Property Value
Remarks
Amazon MQ uses the default configuration (the engine type and version).
CloudformationResource: AWS::AmazonMQ::Configuration
ExampleMetadata: fixture=_generated
Description
The description of the configuration.
public virtual string? Description { get; set; }
Property Value
Remarks
Amazon MQ uses the default configuration (the engine type and version).
CloudformationResource: AWS::AmazonMQ::Configuration
ExampleMetadata: fixture=_generated
EngineType
Required.
public virtual string EngineType { get; set; }
Property Value
Remarks
Amazon MQ uses the default configuration (the engine type and version).
CloudformationResource: AWS::AmazonMQ::Configuration
ExampleMetadata: fixture=_generated
EngineVersion
The broker engine version.
public virtual string? EngineVersion { get; set; }
Property Value
Remarks
Amazon MQ uses the default configuration (the engine type and version).
CloudformationResource: AWS::AmazonMQ::Configuration
ExampleMetadata: fixture=_generated
Name
Required.
public virtual string Name { get; set; }
Property Value
Remarks
Amazon MQ uses the default configuration (the engine type and version).
CloudformationResource: AWS::AmazonMQ::Configuration
ExampleMetadata: fixture=_generated
Tags
Tag Manager which manages the tags for this resource.
public virtual TagManager Tags { get; }
Property Value
Remarks
Amazon MQ uses the default configuration (the engine type and version).
CloudformationResource: AWS::AmazonMQ::Configuration
ExampleMetadata: fixture=_generated
TagsRaw
Create tags when creating the configuration.
public virtual CfnConfiguration.ITagsEntryProperty[]? TagsRaw { get; set; }
Property Value
Remarks
Amazon MQ uses the default configuration (the engine type and version).
CloudformationResource: AWS::AmazonMQ::Configuration
ExampleMetadata: fixture=_generated
Methods
ArnForConfiguration(IConfigurationRef)
Creates a new configuration for the specified configuration name.
public static string ArnForConfiguration(IConfigurationRef resource)
Parameters
- resource IConfigurationRef
Returns
Remarks
Amazon MQ uses the default configuration (the engine type and version).
CloudformationResource: AWS::AmazonMQ::Configuration
ExampleMetadata: fixture=_generated
Examples
// 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 cfnConfiguration = new CfnConfiguration(this, "MyCfnConfiguration", 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"
} }
});
FromConfigurationArn(Construct, string, string)
Creates a new IConfigurationRef from an ARN.
public static IConfigurationRef FromConfigurationArn(Construct scope, string id, string arn)
Parameters
Returns
Remarks
Amazon MQ uses the default configuration (the engine type and version).
CloudformationResource: AWS::AmazonMQ::Configuration
ExampleMetadata: fixture=_generated
FromConfigurationId(Construct, string, string)
Creates a new IConfigurationRef from a configurationId.
public static IConfigurationRef FromConfigurationId(Construct scope, string id, string configurationId)
Parameters
Returns
Remarks
Amazon MQ uses the default configuration (the engine type and version).
CloudformationResource: AWS::AmazonMQ::Configuration
ExampleMetadata: fixture=_generated
Inspect(TreeInspector)
Examines the CloudFormation resource and discloses attributes.
public virtual void Inspect(TreeInspector inspector)
Parameters
- inspector TreeInspector
tree inspector to collect and process attributes.
Remarks
Amazon MQ uses the default configuration (the engine type and version).
CloudformationResource: AWS::AmazonMQ::Configuration
ExampleMetadata: fixture=_generated
IsCfnConfiguration(object)
Checks whether the given object is a CfnConfiguration.
public static bool IsCfnConfiguration(object x)
Parameters
- x object
Returns
Remarks
Amazon MQ uses the default configuration (the engine type and version).
CloudformationResource: AWS::AmazonMQ::Configuration
ExampleMetadata: fixture=_generated
RenderProperties(IDictionary<string, object>)
Creates a new configuration for the specified configuration name.
protected override IDictionary<string, object> RenderProperties(IDictionary<string, object> props)
Parameters
- props IDictionary<string, object>
Returns
Overrides
Remarks
Amazon MQ uses the default configuration (the engine type and version).
CloudformationResource: AWS::AmazonMQ::Configuration
ExampleMetadata: fixture=_generated