Broker
Provides an MQ Broker Resource. This resources also manages users for the broker.
For more information on Amazon MQ, see Amazon MQ documentation.
Changes to an MQ Broker can occur when you change a
parameter, such as configuration or user, and are reflected in the next maintenance
window. Because of this, this provider may report a difference in its planning
phase because a modification has not yet taken place. You can use the
apply_immediately flag to instruct the service to apply the change immediately
(see documentation below).
Note: using
apply_immediatelycan result in a brief downtime as the broker reboots.Note: All arguments including the username and password will be stored in the raw state as plain-text.
Example Usage
using Pulumi;
using Aws = Pulumi.Aws;
class MyStack : Stack
{
public MyStack()
{
var example = new Aws.Mq.Broker("example", new Aws.Mq.BrokerArgs
{
BrokerName = "example",
Configuration = new Aws.Mq.Inputs.BrokerConfigurationArgs
{
Id = aws_mq_configuration.Test.Id,
Revision = aws_mq_configuration.Test.Latest_revision,
},
EngineType = "ActiveMQ",
EngineVersion = "5.15.0",
HostInstanceType = "mq.t2.micro",
SecurityGroups =
{
aws_security_group.Test.Id,
},
Users =
{
new Aws.Mq.Inputs.BrokerUserArgs
{
Password = "MindTheGap",
Username = "ExampleUser",
},
},
});
}
}
package main
import (
"github.com/pulumi/pulumi-aws/sdk/v2/go/aws/mq"
"github.com/pulumi/pulumi/sdk/v2/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := mq.NewBroker(ctx, "example", &mq.BrokerArgs{
BrokerName: pulumi.String("example"),
Configuration: &mq.BrokerConfigurationArgs{
Id: pulumi.String(aws_mq_configuration.Test.Id),
Revision: pulumi.String(aws_mq_configuration.Test.Latest_revision),
},
EngineType: pulumi.String("ActiveMQ"),
EngineVersion: pulumi.String("5.15.0"),
HostInstanceType: pulumi.String("mq.t2.micro"),
SecurityGroups: pulumi.StringArray{
pulumi.String(aws_security_group.Test.Id),
},
Users: mq.BrokerUserArray{
&mq.BrokerUserArgs{
Password: pulumi.String("MindTheGap"),
Username: pulumi.String("ExampleUser"),
},
},
})
if err != nil {
return err
}
return nil
})
}import pulumi
import pulumi_aws as aws
example = aws.mq.Broker("example",
broker_name="example",
configuration={
"id": aws_mq_configuration["test"]["id"],
"revision": aws_mq_configuration["test"]["latest_revision"],
},
engine_type="ActiveMQ",
engine_version="5.15.0",
host_instance_type="mq.t2.micro",
security_groups=[aws_security_group["test"]["id"]],
users=[{
"password": "MindTheGap",
"username": "ExampleUser",
}])import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";
const example = new aws.mq.Broker("example", {
brokerName: "example",
configuration: {
id: aws_mq_configuration_test.id,
revision: aws_mq_configuration_test.latestRevision,
},
engineType: "ActiveMQ",
engineVersion: "5.15.0",
hostInstanceType: "mq.t2.micro",
securityGroups: [aws_security_group_test.id],
users: [{
password: "MindTheGap",
username: "ExampleUser",
}],
});Create a Broker Resource
new Broker(name: string, args: BrokerArgs, opts?: CustomResourceOptions);def Broker(resource_name, opts=None, apply_immediately=None, auto_minor_version_upgrade=None, broker_name=None, configuration=None, deployment_mode=None, encryption_options=None, engine_type=None, engine_version=None, host_instance_type=None, logs=None, maintenance_window_start_time=None, publicly_accessible=None, security_groups=None, subnet_ids=None, tags=None, users=None, __props__=None);func NewBroker(ctx *Context, name string, args BrokerArgs, opts ...ResourceOption) (*Broker, error)public Broker(string name, BrokerArgs args, CustomResourceOptions? opts = null)- name string
- The unique name of the resource.
- args BrokerArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- opts ResourceOptions
- A bag of options that control this resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args BrokerArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args BrokerArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
Broker Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Programming Model docs.
Inputs
The Broker resource accepts the following input properties:
- Broker
Name string The name of the broker.
- Engine
Type string The type of broker engine. Currently, Amazon MQ supports only
ActiveMQ.- Engine
Version string The version of the broker engine. See the AmazonMQ Broker Engine docs for supported versions.
- Host
Instance stringType The broker’s instance type. e.g.
mq.t2.microormq.m4.large- Security
Groups List<string> The list of security group IDs assigned to the broker.
- Users
List<Broker
User Args> The list of all ActiveMQ usernames for the specified broker. See below.
- Apply
Immediately bool Specifies whether any broker modifications are applied immediately, or during the next maintenance window. Default is
false.- Auto
Minor boolVersion Upgrade Enables automatic upgrades to new minor versions for brokers, as Apache releases the versions.
- Configuration
Broker
Configuration Args Configuration of the broker. See below.
- Deployment
Mode string The deployment mode of the broker. Supported:
SINGLE_INSTANCEandACTIVE_STANDBY_MULTI_AZ. Defaults toSINGLE_INSTANCE.- Encryption
Options BrokerEncryption Options Args Configuration block containing encryption options. See below.
- Logs
Broker
Logs Args Logging configuration of the broker. See below.
- Maintenance
Window BrokerStart Time Maintenance Window Start Time Args Maintenance window start time. See below.
- Publicly
Accessible bool Whether to enable connections from applications outside of the VPC that hosts the broker’s subnets.
- Subnet
Ids List<string> The list of subnet IDs in which to launch the broker. A
SINGLE_INSTANCEdeployment requires one subnet. AnACTIVE_STANDBY_MULTI_AZdeployment requires two subnets.- Dictionary<string, string>
A map of tags to assign to the resource.
- Broker
Name string The name of the broker.
- Engine
Type string The type of broker engine. Currently, Amazon MQ supports only
ActiveMQ.- Engine
Version string The version of the broker engine. See the AmazonMQ Broker Engine docs for supported versions.
- Host
Instance stringType The broker’s instance type. e.g.
mq.t2.microormq.m4.large- Security
Groups []string The list of security group IDs assigned to the broker.
- Users
[]Broker
User The list of all ActiveMQ usernames for the specified broker. See below.
- Apply
Immediately bool Specifies whether any broker modifications are applied immediately, or during the next maintenance window. Default is
false.- Auto
Minor boolVersion Upgrade Enables automatic upgrades to new minor versions for brokers, as Apache releases the versions.
- Configuration
Broker
Configuration Configuration of the broker. See below.
- Deployment
Mode string The deployment mode of the broker. Supported:
SINGLE_INSTANCEandACTIVE_STANDBY_MULTI_AZ. Defaults toSINGLE_INSTANCE.- Encryption
Options BrokerEncryption Options Configuration block containing encryption options. See below.
- Logs
Broker
Logs Logging configuration of the broker. See below.
- Maintenance
Window BrokerStart Time Maintenance Window Start Time Maintenance window start time. See below.
- Publicly
Accessible bool Whether to enable connections from applications outside of the VPC that hosts the broker’s subnets.
- Subnet
Ids []string The list of subnet IDs in which to launch the broker. A
SINGLE_INSTANCEdeployment requires one subnet. AnACTIVE_STANDBY_MULTI_AZdeployment requires two subnets.- map[string]string
A map of tags to assign to the resource.
- broker
Name string The name of the broker.
- engine
Type string The type of broker engine. Currently, Amazon MQ supports only
ActiveMQ.- engine
Version string The version of the broker engine. See the AmazonMQ Broker Engine docs for supported versions.
- host
Instance stringType The broker’s instance type. e.g.
mq.t2.microormq.m4.large- security
Groups string[] The list of security group IDs assigned to the broker.
- users
Broker
User[] The list of all ActiveMQ usernames for the specified broker. See below.
- apply
Immediately boolean Specifies whether any broker modifications are applied immediately, or during the next maintenance window. Default is
false.- auto
Minor booleanVersion Upgrade Enables automatic upgrades to new minor versions for brokers, as Apache releases the versions.
- configuration
Broker
Configuration Configuration of the broker. See below.
- deployment
Mode string The deployment mode of the broker. Supported:
SINGLE_INSTANCEandACTIVE_STANDBY_MULTI_AZ. Defaults toSINGLE_INSTANCE.- encryption
Options BrokerEncryption Options Configuration block containing encryption options. See below.
- logs
Broker
Logs Logging configuration of the broker. See below.
- maintenance
Window BrokerStart Time Maintenance Window Start Time Maintenance window start time. See below.
- publicly
Accessible boolean Whether to enable connections from applications outside of the VPC that hosts the broker’s subnets.
- subnet
Ids string[] The list of subnet IDs in which to launch the broker. A
SINGLE_INSTANCEdeployment requires one subnet. AnACTIVE_STANDBY_MULTI_AZdeployment requires two subnets.- {[key: string]: string}
A map of tags to assign to the resource.
- broker_
name str The name of the broker.
- engine_
type str The type of broker engine. Currently, Amazon MQ supports only
ActiveMQ.- engine_
version str The version of the broker engine. See the AmazonMQ Broker Engine docs for supported versions.
- host_
instance_ strtype The broker’s instance type. e.g.
mq.t2.microormq.m4.large- security_
groups List[str] The list of security group IDs assigned to the broker.
- users
List[Broker
User] The list of all ActiveMQ usernames for the specified broker. See below.
- apply_
immediately bool Specifies whether any broker modifications are applied immediately, or during the next maintenance window. Default is
false.- auto_
minor_ boolversion_ upgrade Enables automatic upgrades to new minor versions for brokers, as Apache releases the versions.
- configuration
Dict[Broker
Configuration] Configuration of the broker. See below.
- deployment_
mode str The deployment mode of the broker. Supported:
SINGLE_INSTANCEandACTIVE_STANDBY_MULTI_AZ. Defaults toSINGLE_INSTANCE.- encryption_
options Dict[BrokerEncryption Options] Configuration block containing encryption options. See below.
- logs
Dict[Broker
Logs] Logging configuration of the broker. See below.
- maintenance_
window_ Dict[Brokerstart_ time Maintenance Window Start Time] Maintenance window start time. See below.
- publicly_
accessible bool Whether to enable connections from applications outside of the VPC that hosts the broker’s subnets.
- subnet_
ids List[str] The list of subnet IDs in which to launch the broker. A
SINGLE_INSTANCEdeployment requires one subnet. AnACTIVE_STANDBY_MULTI_AZdeployment requires two subnets.- Dict[str, str]
A map of tags to assign to the resource.
Outputs
All input properties are implicitly available as output properties. Additionally, the Broker resource produces the following output properties:
- Arn string
The ARN of the broker.
- Id string
- The provider-assigned unique ID for this managed resource.
- Instances
List<Broker
Instance> A list of information about allocated brokers (both active & standby). *
instances.0.console_url- The URL of the broker’s ActiveMQ Web Console. *instances.0.ip_address- The IP Address of the broker. *instances.0.endpoints- The broker’s wire-level protocol endpoints in the following order & format referenceable e.g. asinstances.0.endpoints.0(SSL): *ssl://broker-id.mq.us-west-2.amazonaws.com:61617*amqp+ssl://broker-id.mq.us-west-2.amazonaws.com:5671*stomp+ssl://broker-id.mq.us-west-2.amazonaws.com:61614*mqtt+ssl://broker-id.mq.us-west-2.amazonaws.com:8883*wss://broker-id.mq.us-west-2.amazonaws.com:61619
- Arn string
The ARN of the broker.
- Id string
- The provider-assigned unique ID for this managed resource.
- Instances
[]Broker
Instance A list of information about allocated brokers (both active & standby). *
instances.0.console_url- The URL of the broker’s ActiveMQ Web Console. *instances.0.ip_address- The IP Address of the broker. *instances.0.endpoints- The broker’s wire-level protocol endpoints in the following order & format referenceable e.g. asinstances.0.endpoints.0(SSL): *ssl://broker-id.mq.us-west-2.amazonaws.com:61617*amqp+ssl://broker-id.mq.us-west-2.amazonaws.com:5671*stomp+ssl://broker-id.mq.us-west-2.amazonaws.com:61614*mqtt+ssl://broker-id.mq.us-west-2.amazonaws.com:8883*wss://broker-id.mq.us-west-2.amazonaws.com:61619
- arn string
The ARN of the broker.
- id string
- The provider-assigned unique ID for this managed resource.
- instances
Broker
Instance[] A list of information about allocated brokers (both active & standby). *
instances.0.console_url- The URL of the broker’s ActiveMQ Web Console. *instances.0.ip_address- The IP Address of the broker. *instances.0.endpoints- The broker’s wire-level protocol endpoints in the following order & format referenceable e.g. asinstances.0.endpoints.0(SSL): *ssl://broker-id.mq.us-west-2.amazonaws.com:61617*amqp+ssl://broker-id.mq.us-west-2.amazonaws.com:5671*stomp+ssl://broker-id.mq.us-west-2.amazonaws.com:61614*mqtt+ssl://broker-id.mq.us-west-2.amazonaws.com:8883*wss://broker-id.mq.us-west-2.amazonaws.com:61619
- arn str
The ARN of the broker.
- id str
- The provider-assigned unique ID for this managed resource.
- instances
List[Broker
Instance] A list of information about allocated brokers (both active & standby). *
instances.0.console_url- The URL of the broker’s ActiveMQ Web Console. *instances.0.ip_address- The IP Address of the broker. *instances.0.endpoints- The broker’s wire-level protocol endpoints in the following order & format referenceable e.g. asinstances.0.endpoints.0(SSL): *ssl://broker-id.mq.us-west-2.amazonaws.com:61617*amqp+ssl://broker-id.mq.us-west-2.amazonaws.com:5671*stomp+ssl://broker-id.mq.us-west-2.amazonaws.com:61614*mqtt+ssl://broker-id.mq.us-west-2.amazonaws.com:8883*wss://broker-id.mq.us-west-2.amazonaws.com:61619
Look up an Existing Broker Resource
Get an existing Broker resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: BrokerState, opts?: CustomResourceOptions): Brokerstatic get(resource_name, id, opts=None, apply_immediately=None, arn=None, auto_minor_version_upgrade=None, broker_name=None, configuration=None, deployment_mode=None, encryption_options=None, engine_type=None, engine_version=None, host_instance_type=None, instances=None, logs=None, maintenance_window_start_time=None, publicly_accessible=None, security_groups=None, subnet_ids=None, tags=None, users=None, __props__=None);func GetBroker(ctx *Context, name string, id IDInput, state *BrokerState, opts ...ResourceOption) (*Broker, error)public static Broker Get(string name, Input<string> id, BrokerState? state, CustomResourceOptions? opts = null)- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
The following state arguments are supported:
- Apply
Immediately bool Specifies whether any broker modifications are applied immediately, or during the next maintenance window. Default is
false.- Arn string
The ARN of the broker.
- Auto
Minor boolVersion Upgrade Enables automatic upgrades to new minor versions for brokers, as Apache releases the versions.
- Broker
Name string The name of the broker.
- Configuration
Broker
Configuration Args Configuration of the broker. See below.
- Deployment
Mode string The deployment mode of the broker. Supported:
SINGLE_INSTANCEandACTIVE_STANDBY_MULTI_AZ. Defaults toSINGLE_INSTANCE.- Encryption
Options BrokerEncryption Options Args Configuration block containing encryption options. See below.
- Engine
Type string The type of broker engine. Currently, Amazon MQ supports only
ActiveMQ.- Engine
Version string The version of the broker engine. See the AmazonMQ Broker Engine docs for supported versions.
- Host
Instance stringType The broker’s instance type. e.g.
mq.t2.microormq.m4.large- Instances
List<Broker
Instance Args> A list of information about allocated brokers (both active & standby). *
instances.0.console_url- The URL of the broker’s ActiveMQ Web Console. *instances.0.ip_address- The IP Address of the broker. *instances.0.endpoints- The broker’s wire-level protocol endpoints in the following order & format referenceable e.g. asinstances.0.endpoints.0(SSL): *ssl://broker-id.mq.us-west-2.amazonaws.com:61617*amqp+ssl://broker-id.mq.us-west-2.amazonaws.com:5671*stomp+ssl://broker-id.mq.us-west-2.amazonaws.com:61614*mqtt+ssl://broker-id.mq.us-west-2.amazonaws.com:8883*wss://broker-id.mq.us-west-2.amazonaws.com:61619- Logs
Broker
Logs Args Logging configuration of the broker. See below.
- Maintenance
Window BrokerStart Time Maintenance Window Start Time Args Maintenance window start time. See below.
- Publicly
Accessible bool Whether to enable connections from applications outside of the VPC that hosts the broker’s subnets.
- Security
Groups List<string> The list of security group IDs assigned to the broker.
- Subnet
Ids List<string> The list of subnet IDs in which to launch the broker. A
SINGLE_INSTANCEdeployment requires one subnet. AnACTIVE_STANDBY_MULTI_AZdeployment requires two subnets.- Dictionary<string, string>
A map of tags to assign to the resource.
- Users
List<Broker
User Args> The list of all ActiveMQ usernames for the specified broker. See below.
- Apply
Immediately bool Specifies whether any broker modifications are applied immediately, or during the next maintenance window. Default is
false.- Arn string
The ARN of the broker.
- Auto
Minor boolVersion Upgrade Enables automatic upgrades to new minor versions for brokers, as Apache releases the versions.
- Broker
Name string The name of the broker.
- Configuration
Broker
Configuration Configuration of the broker. See below.
- Deployment
Mode string The deployment mode of the broker. Supported:
SINGLE_INSTANCEandACTIVE_STANDBY_MULTI_AZ. Defaults toSINGLE_INSTANCE.- Encryption
Options BrokerEncryption Options Configuration block containing encryption options. See below.
- Engine
Type string The type of broker engine. Currently, Amazon MQ supports only
ActiveMQ.- Engine
Version string The version of the broker engine. See the AmazonMQ Broker Engine docs for supported versions.
- Host
Instance stringType The broker’s instance type. e.g.
mq.t2.microormq.m4.large- Instances
[]Broker
Instance A list of information about allocated brokers (both active & standby). *
instances.0.console_url- The URL of the broker’s ActiveMQ Web Console. *instances.0.ip_address- The IP Address of the broker. *instances.0.endpoints- The broker’s wire-level protocol endpoints in the following order & format referenceable e.g. asinstances.0.endpoints.0(SSL): *ssl://broker-id.mq.us-west-2.amazonaws.com:61617*amqp+ssl://broker-id.mq.us-west-2.amazonaws.com:5671*stomp+ssl://broker-id.mq.us-west-2.amazonaws.com:61614*mqtt+ssl://broker-id.mq.us-west-2.amazonaws.com:8883*wss://broker-id.mq.us-west-2.amazonaws.com:61619- Logs
Broker
Logs Logging configuration of the broker. See below.
- Maintenance
Window BrokerStart Time Maintenance Window Start Time Maintenance window start time. See below.
- Publicly
Accessible bool Whether to enable connections from applications outside of the VPC that hosts the broker’s subnets.
- Security
Groups []string The list of security group IDs assigned to the broker.
- Subnet
Ids []string The list of subnet IDs in which to launch the broker. A
SINGLE_INSTANCEdeployment requires one subnet. AnACTIVE_STANDBY_MULTI_AZdeployment requires two subnets.- map[string]string
A map of tags to assign to the resource.
- Users
[]Broker
User The list of all ActiveMQ usernames for the specified broker. See below.
- apply
Immediately boolean Specifies whether any broker modifications are applied immediately, or during the next maintenance window. Default is
false.- arn string
The ARN of the broker.
- auto
Minor booleanVersion Upgrade Enables automatic upgrades to new minor versions for brokers, as Apache releases the versions.
- broker
Name string The name of the broker.
- configuration
Broker
Configuration Configuration of the broker. See below.
- deployment
Mode string The deployment mode of the broker. Supported:
SINGLE_INSTANCEandACTIVE_STANDBY_MULTI_AZ. Defaults toSINGLE_INSTANCE.- encryption
Options BrokerEncryption Options Configuration block containing encryption options. See below.
- engine
Type string The type of broker engine. Currently, Amazon MQ supports only
ActiveMQ.- engine
Version string The version of the broker engine. See the AmazonMQ Broker Engine docs for supported versions.
- host
Instance stringType The broker’s instance type. e.g.
mq.t2.microormq.m4.large- instances
Broker
Instance[] A list of information about allocated brokers (both active & standby). *
instances.0.console_url- The URL of the broker’s ActiveMQ Web Console. *instances.0.ip_address- The IP Address of the broker. *instances.0.endpoints- The broker’s wire-level protocol endpoints in the following order & format referenceable e.g. asinstances.0.endpoints.0(SSL): *ssl://broker-id.mq.us-west-2.amazonaws.com:61617*amqp+ssl://broker-id.mq.us-west-2.amazonaws.com:5671*stomp+ssl://broker-id.mq.us-west-2.amazonaws.com:61614*mqtt+ssl://broker-id.mq.us-west-2.amazonaws.com:8883*wss://broker-id.mq.us-west-2.amazonaws.com:61619- logs
Broker
Logs Logging configuration of the broker. See below.
- maintenance
Window BrokerStart Time Maintenance Window Start Time Maintenance window start time. See below.
- publicly
Accessible boolean Whether to enable connections from applications outside of the VPC that hosts the broker’s subnets.
- security
Groups string[] The list of security group IDs assigned to the broker.
- subnet
Ids string[] The list of subnet IDs in which to launch the broker. A
SINGLE_INSTANCEdeployment requires one subnet. AnACTIVE_STANDBY_MULTI_AZdeployment requires two subnets.- {[key: string]: string}
A map of tags to assign to the resource.
- users
Broker
User[] The list of all ActiveMQ usernames for the specified broker. See below.
- apply_
immediately bool Specifies whether any broker modifications are applied immediately, or during the next maintenance window. Default is
false.- arn str
The ARN of the broker.
- auto_
minor_ boolversion_ upgrade Enables automatic upgrades to new minor versions for brokers, as Apache releases the versions.
- broker_
name str The name of the broker.
- configuration
Dict[Broker
Configuration] Configuration of the broker. See below.
- deployment_
mode str The deployment mode of the broker. Supported:
SINGLE_INSTANCEandACTIVE_STANDBY_MULTI_AZ. Defaults toSINGLE_INSTANCE.- encryption_
options Dict[BrokerEncryption Options] Configuration block containing encryption options. See below.
- engine_
type str The type of broker engine. Currently, Amazon MQ supports only
ActiveMQ.- engine_
version str The version of the broker engine. See the AmazonMQ Broker Engine docs for supported versions.
- host_
instance_ strtype The broker’s instance type. e.g.
mq.t2.microormq.m4.large- instances
List[Broker
Instance] A list of information about allocated brokers (both active & standby). *
instances.0.console_url- The URL of the broker’s ActiveMQ Web Console. *instances.0.ip_address- The IP Address of the broker. *instances.0.endpoints- The broker’s wire-level protocol endpoints in the following order & format referenceable e.g. asinstances.0.endpoints.0(SSL): *ssl://broker-id.mq.us-west-2.amazonaws.com:61617*amqp+ssl://broker-id.mq.us-west-2.amazonaws.com:5671*stomp+ssl://broker-id.mq.us-west-2.amazonaws.com:61614*mqtt+ssl://broker-id.mq.us-west-2.amazonaws.com:8883*wss://broker-id.mq.us-west-2.amazonaws.com:61619- logs
Dict[Broker
Logs] Logging configuration of the broker. See below.
- maintenance_
window_ Dict[Brokerstart_ time Maintenance Window Start Time] Maintenance window start time. See below.
- publicly_
accessible bool Whether to enable connections from applications outside of the VPC that hosts the broker’s subnets.
- security_
groups List[str] The list of security group IDs assigned to the broker.
- subnet_
ids List[str] The list of subnet IDs in which to launch the broker. A
SINGLE_INSTANCEdeployment requires one subnet. AnACTIVE_STANDBY_MULTI_AZdeployment requires two subnets.- Dict[str, str]
A map of tags to assign to the resource.
- users
List[Broker
User] The list of all ActiveMQ usernames for the specified broker. See below.
Supporting Types
BrokerConfiguration
BrokerEncryptionOptions
- Kms
Key stringId Amazon Resource Name (ARN) of Key Management Service (KMS) Customer Master Key (CMK) to use for encryption at rest. Requires setting
use_aws_owned_keytofalse. To perform drift detection when AWS managed CMKs or customer managed CMKs are in use, this value must be configured.- Use
Aws boolOwned Key Boolean to enable an AWS owned Key Management Service (KMS) Customer Master Key (CMK) that is not in your account. Defaults to
true. Setting tofalsewithout configuringkms_key_idwill create an AWS managed Customer Master Key (CMK) aliased toaws/mqin your account.
- Kms
Key stringId Amazon Resource Name (ARN) of Key Management Service (KMS) Customer Master Key (CMK) to use for encryption at rest. Requires setting
use_aws_owned_keytofalse. To perform drift detection when AWS managed CMKs or customer managed CMKs are in use, this value must be configured.- Use
Aws boolOwned Key Boolean to enable an AWS owned Key Management Service (KMS) Customer Master Key (CMK) that is not in your account. Defaults to
true. Setting tofalsewithout configuringkms_key_idwill create an AWS managed Customer Master Key (CMK) aliased toaws/mqin your account.
- kms
Key stringId Amazon Resource Name (ARN) of Key Management Service (KMS) Customer Master Key (CMK) to use for encryption at rest. Requires setting
use_aws_owned_keytofalse. To perform drift detection when AWS managed CMKs or customer managed CMKs are in use, this value must be configured.- use
Aws booleanOwned Key Boolean to enable an AWS owned Key Management Service (KMS) Customer Master Key (CMK) that is not in your account. Defaults to
true. Setting tofalsewithout configuringkms_key_idwill create an AWS managed Customer Master Key (CMK) aliased toaws/mqin your account.
- kms_
key_ strid Amazon Resource Name (ARN) of Key Management Service (KMS) Customer Master Key (CMK) to use for encryption at rest. Requires setting
use_aws_owned_keytofalse. To perform drift detection when AWS managed CMKs or customer managed CMKs are in use, this value must be configured.- use
Aws boolOwned Key Boolean to enable an AWS owned Key Management Service (KMS) Customer Master Key (CMK) that is not in your account. Defaults to
true. Setting tofalsewithout configuringkms_key_idwill create an AWS managed Customer Master Key (CMK) aliased toaws/mqin your account.
BrokerInstance
See the output API doc for this type.
See the output API doc for this type.
See the output API doc for this type.
BrokerLogs
BrokerMaintenanceWindowStartTime
BrokerUser
- Password string
The password of the user. It must be 12 to 250 characters long, at least 4 unique characters, and must not contain commas.
- Username string
The username of the user.
- Console
Access bool Whether to enable access to the ActiveMQ Web Console for the user.
- Groups List<string>
The list of groups (20 maximum) to which the ActiveMQ user belongs.
- Password string
The password of the user. It must be 12 to 250 characters long, at least 4 unique characters, and must not contain commas.
- Username string
The username of the user.
- Console
Access bool Whether to enable access to the ActiveMQ Web Console for the user.
- Groups []string
The list of groups (20 maximum) to which the ActiveMQ user belongs.
- password string
The password of the user. It must be 12 to 250 characters long, at least 4 unique characters, and must not contain commas.
- username string
The username of the user.
- console
Access boolean Whether to enable access to the ActiveMQ Web Console for the user.
- groups string[]
The list of groups (20 maximum) to which the ActiveMQ user belongs.
- password str
The password of the user. It must be 12 to 250 characters long, at least 4 unique characters, and must not contain commas.
- username str
The username of the user.
- console
Access bool Whether to enable access to the ActiveMQ Web Console for the user.
- groups List[str]
The list of groups (20 maximum) to which the ActiveMQ user belongs.
Package Details
- Repository
- https://github.com/pulumi/pulumi-aws
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
awsTerraform Provider.