Class Configuration
Provides an MQ Configuration Resource.
For more information on Amazon MQ, see Amazon MQ documentation.
Example Usage
using Pulumi;
using Aws = Pulumi.Aws;
class MyStack : Stack
{
public MyStack()
{
var example = new Aws.Mq.Configuration("example", new Aws.Mq.ConfigurationArgs
{
Data = @"<?xml version=""1.0"" encoding=""UTF-8"" standalone=""yes""?>
<broker xmlns=""http://activemq.apache.org/schema/core"">
<plugins>
<forcePersistencyModeBrokerPlugin persistenceFlag=""true""/>
<statisticsBrokerPlugin/>
<timeStampingBrokerPlugin ttlCeiling=""86400000"" zeroExpirationOverride=""86400000""/>
</plugins>
</broker>
",
Description = "Example Configuration",
EngineType = "ActiveMQ",
EngineVersion = "5.15.0",
});
}
}
Inherited Members
Namespace: Pulumi.Aws.Mq
Assembly: Pulumi.Aws.dll
Syntax
public class Configuration : CustomResource
Constructors
View SourceConfiguration(String, ConfigurationArgs, CustomResourceOptions)
Create a Configuration resource with the given unique name, arguments, and options.
Declaration
public Configuration(string name, ConfigurationArgs args, CustomResourceOptions options = null)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | name | The unique name of the resource |
| ConfigurationArgs | args | The arguments used to populate this resource's properties |
| CustomResourceOptions | options | A bag of options that control this resource's behavior |
Properties
View SourceArn
The ARN of the configuration.
Declaration
public Output<string> Arn { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
Data
The broker configuration in XML format. See official docs for supported parameters and format of the XML.
Declaration
public Output<string> Data { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
Description
The description of the configuration.
Declaration
public Output<string> Description { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
EngineType
The type of broker engine.
Declaration
public Output<string> EngineType { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
EngineVersion
The version of the broker engine.
Declaration
public Output<string> EngineVersion { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
LatestRevision
The latest revision of the configuration.
Declaration
public Output<int> LatestRevision { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.Int32> |
Name
The name of the configuration
Declaration
public Output<string> Name { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
Tags
A map of tags to assign to the resource.
Declaration
public Output<ImmutableDictionary<string, object>> Tags { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.Collections.Immutable.ImmutableDictionary<System.String, System.Object>> |
Methods
View SourceGet(String, Input<String>, ConfigurationState, CustomResourceOptions)
Get an existing Configuration resource's state with the given name, ID, and optional extra properties used to qualify the lookup.
Declaration
public static Configuration Get(string name, Input<string> id, ConfigurationState state = null, CustomResourceOptions options = null)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | name | The unique name of the resulting resource. |
| Input<System.String> | id | The unique provider ID of the resource to lookup. |
| ConfigurationState | state | Any extra arguments used during the lookup. |
| CustomResourceOptions | options | A bag of options that control this resource's behavior |
Returns
| Type | Description |
|---|---|
| Configuration |