1. Packages
  2. AWS Cloud Control
  3. API Docs
  4. amazonmq
  5. Configuration

We recommend new projects start with resources from the AWS provider.

AWS Cloud Control v1.8.0 published on Thursday, Nov 14, 2024 by Pulumi

aws-native.amazonmq.Configuration

Explore with Pulumi AI

aws-native logo

We recommend new projects start with resources from the AWS provider.

AWS Cloud Control v1.8.0 published on Thursday, Nov 14, 2024 by Pulumi

    Resource Type definition for AWS::AmazonMQ::Configuration

    Example Usage

    Example

    using System;
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using AwsNative = Pulumi.AwsNative;
    
    return await Deployment.RunAsync(() => 
    {
        var configuration = new AwsNative.AmazonMq.Configuration("configuration", new()
        {
            Data = Convert.ToBase64String(System.Text.Encoding.UTF8.GetBytes(@"<?xml version=""1.0"" encoding=""UTF-8"" standalone=""yes""?>
    <broker xmlns=""http://activemq.apache.org/schema/core"" start=""false"">
      <destinationPolicy>
        <policyMap>
          <policyEntries>
            <policyEntry topic="">"">
              <pendingMessageLimitStrategy>
                <constantPendingMessageLimitStrategy limit=""3000""/>
              </pendingMessageLimitStrategy>
            </policyEntry>
          </policyEntries>
        </policyMap>
      </destinationPolicy>
      <plugins>
      </plugins>
    </broker>
    ")),
            EngineType = "ACTIVEMQ",
            EngineVersion = "5.15.0",
            Name = "my-configuration-1",
        });
    
    });
    
    package main
    
    import (
    	"encoding/base64"
    
    	"github.com/pulumi/pulumi-aws-native/sdk/go/aws/amazonmq"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := amazonmq.NewConfiguration(ctx, "configuration", &amazonmq.ConfigurationArgs{
    			Data: pulumi.String(base64.StdEncoding.EncodeToString([]byte(`<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
    <broker xmlns="http://activemq.apache.org/schema/core" start="false">
      <destinationPolicy>
        <policyMap>
          <policyEntries>
            <policyEntry topic=">">
              <pendingMessageLimitStrategy>
                <constantPendingMessageLimitStrategy limit="3000"/>
              </pendingMessageLimitStrategy>
            </policyEntry>
          </policyEntries>
        </policyMap>
      </destinationPolicy>
      <plugins>
      </plugins>
    </broker>
    `))),
    			EngineType:    pulumi.String("ACTIVEMQ"),
    			EngineVersion: pulumi.String("5.15.0"),
    			Name:          pulumi.String("my-configuration-1"),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    

    Coming soon!

    import pulumi
    import base64
    import pulumi_aws_native as aws_native
    
    configuration = aws_native.amazonmq.Configuration("configuration",
        data=base64.b64encode("""<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
    <broker xmlns="http://activemq.apache.org/schema/core" start="false">
      <destinationPolicy>
        <policyMap>
          <policyEntries>
            <policyEntry topic=">">
              <pendingMessageLimitStrategy>
                <constantPendingMessageLimitStrategy limit="3000"/>
              </pendingMessageLimitStrategy>
            </policyEntry>
          </policyEntries>
        </policyMap>
      </destinationPolicy>
      <plugins>
      </plugins>
    </broker>
    """.encode()).decode(),
        engine_type="ACTIVEMQ",
        engine_version="5.15.0",
        name="my-configuration-1")
    
    import * as pulumi from "@pulumi/pulumi";
    import * as aws_native from "@pulumi/aws-native";
    
    const configuration = new aws_native.amazonmq.Configuration("configuration", {
        data: Buffer.from(`<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
    <broker xmlns="http://activemq.apache.org/schema/core" start="false">
      <destinationPolicy>
        <policyMap>
          <policyEntries>
            <policyEntry topic=">">
              <pendingMessageLimitStrategy>
                <constantPendingMessageLimitStrategy limit="3000"/>
              </pendingMessageLimitStrategy>
            </policyEntry>
          </policyEntries>
        </policyMap>
      </destinationPolicy>
      <plugins>
      </plugins>
    </broker>
    `).toString("base64"),
        engineType: "ACTIVEMQ",
        engineVersion: "5.15.0",
        name: "my-configuration-1",
    });
    

    Coming soon!

    Create Configuration Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new Configuration(name: string, args: ConfigurationArgs, opts?: CustomResourceOptions);
    @overload
    def Configuration(resource_name: str,
                      args: ConfigurationArgs,
                      opts: Optional[ResourceOptions] = None)
    
    @overload
    def Configuration(resource_name: str,
                      opts: Optional[ResourceOptions] = None,
                      data: Optional[str] = None,
                      engine_type: Optional[str] = None,
                      authentication_strategy: Optional[str] = None,
                      description: Optional[str] = None,
                      engine_version: Optional[str] = None,
                      name: Optional[str] = None,
                      tags: Optional[Sequence[_root_inputs.TagArgs]] = None)
    func NewConfiguration(ctx *Context, name string, args ConfigurationArgs, opts ...ResourceOption) (*Configuration, error)
    public Configuration(string name, ConfigurationArgs args, CustomResourceOptions? opts = null)
    public Configuration(String name, ConfigurationArgs args)
    public Configuration(String name, ConfigurationArgs args, CustomResourceOptions options)
    
    type: aws-native:amazonmq:Configuration
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args ConfigurationArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args ConfigurationArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args ConfigurationArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args ConfigurationArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args ConfigurationArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Configuration Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The Configuration resource accepts the following input properties:

    Data string
    The base64-encoded XML configuration.
    EngineType string
    The type of broker engine. Note: Currently, Amazon MQ only supports ACTIVEMQ for creating and editing broker configurations.
    AuthenticationStrategy string
    The authentication strategy associated with the configuration. The default is SIMPLE.
    Description string
    The description of the configuration.
    EngineVersion string
    The version of the broker engine.
    Name string
    The name of the configuration.
    Tags List<Pulumi.AwsNative.Inputs.Tag>
    Create tags when creating the configuration.
    Data string
    The base64-encoded XML configuration.
    EngineType string
    The type of broker engine. Note: Currently, Amazon MQ only supports ACTIVEMQ for creating and editing broker configurations.
    AuthenticationStrategy string
    The authentication strategy associated with the configuration. The default is SIMPLE.
    Description string
    The description of the configuration.
    EngineVersion string
    The version of the broker engine.
    Name string
    The name of the configuration.
    Tags TagArgs
    Create tags when creating the configuration.
    data String
    The base64-encoded XML configuration.
    engineType String
    The type of broker engine. Note: Currently, Amazon MQ only supports ACTIVEMQ for creating and editing broker configurations.
    authenticationStrategy String
    The authentication strategy associated with the configuration. The default is SIMPLE.
    description String
    The description of the configuration.
    engineVersion String
    The version of the broker engine.
    name String
    The name of the configuration.
    tags List<Tag>
    Create tags when creating the configuration.
    data string
    The base64-encoded XML configuration.
    engineType string
    The type of broker engine. Note: Currently, Amazon MQ only supports ACTIVEMQ for creating and editing broker configurations.
    authenticationStrategy string
    The authentication strategy associated with the configuration. The default is SIMPLE.
    description string
    The description of the configuration.
    engineVersion string
    The version of the broker engine.
    name string
    The name of the configuration.
    tags Tag[]
    Create tags when creating the configuration.
    data str
    The base64-encoded XML configuration.
    engine_type str
    The type of broker engine. Note: Currently, Amazon MQ only supports ACTIVEMQ for creating and editing broker configurations.
    authentication_strategy str
    The authentication strategy associated with the configuration. The default is SIMPLE.
    description str
    The description of the configuration.
    engine_version str
    The version of the broker engine.
    name str
    The name of the configuration.
    tags Sequence[TagArgs]
    Create tags when creating the configuration.
    data String
    The base64-encoded XML configuration.
    engineType String
    The type of broker engine. Note: Currently, Amazon MQ only supports ACTIVEMQ for creating and editing broker configurations.
    authenticationStrategy String
    The authentication strategy associated with the configuration. The default is SIMPLE.
    description String
    The description of the configuration.
    engineVersion String
    The version of the broker engine.
    name String
    The name of the configuration.
    tags List<Property Map>
    Create tags when creating the configuration.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the Configuration resource produces the following output properties:

    Arn string
    The Amazon Resource Name (ARN) of the Amazon MQ configuration.
    AwsId string
    The ID of the Amazon MQ configuration.
    Id string
    The provider-assigned unique ID for this managed resource.
    Revision string
    The revision number of the configuration.
    Arn string
    The Amazon Resource Name (ARN) of the Amazon MQ configuration.
    AwsId string
    The ID of the Amazon MQ configuration.
    Id string
    The provider-assigned unique ID for this managed resource.
    Revision string
    The revision number of the configuration.
    arn String
    The Amazon Resource Name (ARN) of the Amazon MQ configuration.
    awsId String
    The ID of the Amazon MQ configuration.
    id String
    The provider-assigned unique ID for this managed resource.
    revision String
    The revision number of the configuration.
    arn string
    The Amazon Resource Name (ARN) of the Amazon MQ configuration.
    awsId string
    The ID of the Amazon MQ configuration.
    id string
    The provider-assigned unique ID for this managed resource.
    revision string
    The revision number of the configuration.
    arn str
    The Amazon Resource Name (ARN) of the Amazon MQ configuration.
    aws_id str
    The ID of the Amazon MQ configuration.
    id str
    The provider-assigned unique ID for this managed resource.
    revision str
    The revision number of the configuration.
    arn String
    The Amazon Resource Name (ARN) of the Amazon MQ configuration.
    awsId String
    The ID of the Amazon MQ configuration.
    id String
    The provider-assigned unique ID for this managed resource.
    revision String
    The revision number of the configuration.

    Supporting Types

    Tag, TagArgs

    Key string
    The key name of the tag
    Value string
    The value of the tag
    Key string
    The key name of the tag
    Value string
    The value of the tag
    key String
    The key name of the tag
    value String
    The value of the tag
    key string
    The key name of the tag
    value string
    The value of the tag
    key str
    The key name of the tag
    value str
    The value of the tag
    key String
    The key name of the tag
    value String
    The value of the tag

    Package Details

    Repository
    AWS Native pulumi/pulumi-aws-native
    License
    Apache-2.0
    aws-native logo

    We recommend new projects start with resources from the AWS provider.

    AWS Cloud Control v1.8.0 published on Thursday, Nov 14, 2024 by Pulumi