mq

class pulumi_aws.mq.Broker(resource_name, opts=None, apply_immediately=None, auto_minor_version_upgrade=None, broker_name=None, configuration=None, deployment_mode=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, __name__=None, __opts__=None)

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, Terraform 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_immediately can 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. Read more about sensitive data in state.

Parameters:
  • resource_name (str) – The name of the resource.
  • opts (pulumi.ResourceOptions) – Options for the resource.
  • apply_immediately (pulumi.Input[bool]) – Specifies whether any broker modifications are applied immediately, or during the next maintenance window. Default is false.
  • auto_minor_version_upgrade (pulumi.Input[bool]) – Enables automatic upgrades to new minor versions for brokers, as Apache releases the versions.
  • broker_name (pulumi.Input[str]) – The name of the broker.
  • configuration (pulumi.Input[dict]) – Configuration of the broker. See below.
  • deployment_mode (pulumi.Input[str]) – The deployment mode of the broker. Supported: SINGLE_INSTANCE and ACTIVE_STANDBY_MULTI_AZ. Defaults to SINGLE_INSTANCE.
  • engine_type (pulumi.Input[str]) – The type of broker engine. Currently, Amazon MQ supports only ActiveMQ.
  • engine_version (pulumi.Input[str]) – The version of the broker engine. Currently, Amazon MQ supports only 5.15.0 or 5.15.6.
  • host_instance_type (pulumi.Input[str]) – The broker’s instance type. e.g. mq.t2.micro or mq.m4.large
  • logs (pulumi.Input[dict]) – Logging configuration of the broker. See below.
  • maintenance_window_start_time (pulumi.Input[dict]) – Maintenance window start time. See below.
  • publicly_accessible (pulumi.Input[bool]) – Whether to enable connections from applications outside of the VPC that hosts the broker’s subnets.
  • security_groups (pulumi.Input[list]) – The list of security group IDs assigned to the broker.
  • subnet_ids (pulumi.Input[list]) – The list of subnet IDs in which to launch the broker. A SINGLE_INSTANCE deployment requires one subnet. An ACTIVE_STANDBY_MULTI_AZ deployment requires two subnets.
  • tags (pulumi.Input[dict]) – A mapping of tags to assign to the resource.
  • users (pulumi.Input[list]) – The list of all ActiveMQ usernames for the specified broker. See below.
apply_immediately = None

Specifies whether any broker modifications are applied immediately, or during the next maintenance window. Default is false.

arn = None

The ARN of the broker.

auto_minor_version_upgrade = None

Enables automatic upgrades to new minor versions for brokers, as Apache releases the versions.

broker_name = None

The name of the broker.

configuration = None

Configuration of the broker. See below.

deployment_mode = None

The deployment mode of the broker. Supported: SINGLE_INSTANCE and ACTIVE_STANDBY_MULTI_AZ. Defaults to SINGLE_INSTANCE.

engine_type = None

The type of broker engine. Currently, Amazon MQ supports only ActiveMQ.

engine_version = None

The version of the broker engine. Currently, Amazon MQ supports only 5.15.0 or 5.15.6.

host_instance_type = None

The broker’s instance type. e.g. mq.t2.micro or mq.m4.large

instances = None

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. as instances.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 = None

Logging configuration of the broker. See below.

maintenance_window_start_time = None

Maintenance window start time. See below.

publicly_accessible = None

Whether to enable connections from applications outside of the VPC that hosts the broker’s subnets.

security_groups = None

The list of security group IDs assigned to the broker.

subnet_ids = None

The list of subnet IDs in which to launch the broker. A SINGLE_INSTANCE deployment requires one subnet. An ACTIVE_STANDBY_MULTI_AZ deployment requires two subnets.

tags = None

A mapping of tags to assign to the resource.

users = None

The list of all ActiveMQ usernames for the specified broker. See below.

translate_output_property(prop)

Provides subclasses of Resource an opportunity to translate names of output properties into a format of their choosing before writing those properties to the resource object.

Parameters:prop (str) – A property name.
Returns:A potentially transformed property name.
Return type:str
translate_input_property(prop)

Provides subclasses of Resource an opportunity to translate names of input properties into a format of their choosing before sending those properties to the Pulumi engine.

Parameters:prop (str) – A property name.
Returns:A potentially transformed property name.
Return type:str
class pulumi_aws.mq.Configuration(resource_name, opts=None, data=None, description=None, engine_type=None, engine_version=None, name=None, tags=None, __name__=None, __opts__=None)

Provides an MQ Configuration Resource.

For more information on Amazon MQ, see Amazon MQ documentation.

Parameters:
  • resource_name (str) – The name of the resource.
  • opts (pulumi.ResourceOptions) – Options for the resource.
  • data (pulumi.Input[str]) – The broker configuration in XML format. See official docs for supported parameters and format of the XML.
  • description (pulumi.Input[str]) – The description of the configuration.
  • engine_type (pulumi.Input[str]) – The type of broker engine.
  • engine_version (pulumi.Input[str]) – The version of the broker engine.
  • name (pulumi.Input[str]) – The name of the configuration
  • tags (pulumi.Input[dict]) – A mapping of tags to assign to the resource.
arn = None

The ARN of the configuration.

data = None

The broker configuration in XML format. See official docs for supported parameters and format of the XML.

description = None

The description of the configuration.

engine_type = None

The type of broker engine.

engine_version = None

The version of the broker engine.

latest_revision = None

The latest revision of the configuration.

name = None

The name of the configuration

tags = None

A mapping of tags to assign to the resource.

translate_output_property(prop)

Provides subclasses of Resource an opportunity to translate names of output properties into a format of their choosing before writing those properties to the resource object.

Parameters:prop (str) – A property name.
Returns:A potentially transformed property name.
Return type:str
translate_input_property(prop)

Provides subclasses of Resource an opportunity to translate names of input properties into a format of their choosing before sending those properties to the Pulumi engine.

Parameters:prop (str) – A property name.
Returns:A potentially transformed property name.
Return type:str
class pulumi_aws.mq.GetBrokerResult(arn=None, auto_minor_version_upgrade=None, broker_id=None, broker_name=None, configuration=None, deployment_mode=None, engine_type=None, engine_version=None, host_instance_type=None, instances=None, maintenance_window_start_time=None, publicly_accessible=None, security_groups=None, subnet_ids=None, tags=None, users=None, id=None)

A collection of values returned by getBroker.

id = None

id is the provider-assigned unique ID for this managed resource.

pulumi_aws.mq.get_broker(broker_id=None, broker_name=None, logs=None, tags=None)

Provides information about a MQ Broker.