CreateBrokerRequest
¶
Source code in docs_src/capo_mq/types/create_broker_request.py
authentication_strategy
instance-attribute
¶
authentication_strategy: NotRequired[AuthenticationStrategy]
Optional. The authentication strategy used to secure the broker. The default is SIMPLE.
auto_minor_version_upgrade
instance-attribute
¶
auto_minor_version_upgrade: NotRequired[__boolean]
Enables automatic upgrades to new patch versions for brokers as new versions are released and supported by Amazon MQ. Automatic upgrades occur during the scheduled maintenance window or after a manual broker reboot. Set to true by default, if no value is specified.
Must be set to true for ActiveMQ brokers version 5.18 and above and for RabbitMQ brokers version 3.13 and above.
broker_name
instance-attribute
¶
broker_name: NotRequired[__string]
Required. The broker's name. This value must be unique in your Amazon Web Services account, 1-50 characters long, must contain only letters, numbers, dashes, and underscores, and must not contain white spaces, brackets, wildcard characters, or special characters.
Do not add personally identifiable information (PII) or other confidential or sensitive information in broker names. Broker names are accessible to other Amazon Web Services services, including CloudWatch Logs. Broker names are not intended to be used for private or sensitive data.
configuration
instance-attribute
¶
configuration: NotRequired[ConfigurationId]
A list of information about the configuration.
creator_request_id
instance-attribute
¶
creator_request_id: NotRequired[__string]
The unique ID that the requester receives for the created broker. Amazon MQ passes your ID with the API action.
We recommend using a Universally Unique Identifier (UUID) for the creatorRequestId. You may omit the creatorRequestId if your application doesn't require idempotency.
data_replication_mode
instance-attribute
¶
data_replication_mode: NotRequired[DataReplicationMode]
Defines whether this broker is a part of a data replication pair.
data_replication_primary_broker_arn
instance-attribute
¶
data_replication_primary_broker_arn: NotRequired[__string]
The Amazon Resource Name (ARN) of the primary broker that is used to replicate data from in a data replication pair, and is applied to the replica broker. Must be set when dataReplicationMode is set to CRDR.
deployment_mode
instance-attribute
¶
deployment_mode: NotRequired[DeploymentMode]
Required. The broker's deployment mode.
encryption_options
instance-attribute
¶
encryption_options: NotRequired[EncryptionOptions]
Encryption options for the broker.
engine_type
instance-attribute
¶
engine_type: NotRequired[EngineType]
Required. The type of broker engine. Currently, Amazon MQ supports ACTIVEMQ and RABBITMQ.
engine_version
instance-attribute
¶
engine_version: NotRequired[__string]
The broker engine version. Defaults to the latest available version for the specified broker engine type. For more information, see the ActiveMQ version management and the RabbitMQ version management sections in the Amazon MQ Developer Guide.
host_instance_type
instance-attribute
¶
host_instance_type: NotRequired[__string]
Required. The broker's instance type.
ldap_server_metadata
instance-attribute
¶
ldap_server_metadata: NotRequired[LdapServerMetadataInput]
Optional. The metadata of the LDAP server used to authenticate and authorize connections to the broker. Does not apply to RabbitMQ brokers.
maintenance_window_start_time
instance-attribute
¶
maintenance_window_start_time: NotRequired[WeeklyStartTime]
The parameters that determine the WeeklyStartTime.
publicly_accessible
instance-attribute
¶
publicly_accessible: NotRequired[__boolean]
Enables connections from applications outside of the VPC that hosts the broker's subnets. Set to false by default, if no value is provided.
security_groups
instance-attribute
¶
security_groups: NotRequired[__listOf__string]
The list of rules (1 minimum, 125 maximum) that authorize connections to brokers.
storage_size
instance-attribute
¶
storage_size: NotRequired[__integer]
The broker's storage size in GB.
storage_type
instance-attribute
¶
storage_type: NotRequired[BrokerStorageType]
The broker's storage type.
subnet_ids
instance-attribute
¶
subnet_ids: NotRequired[__listOf__string]
The list of groups that define which subnets and IP ranges the broker can use from different Availability Zones. If you specify more than one subnet, the subnets must be in different Availability Zones. Amazon MQ will not be able to create VPC endpoints for your broker with multiple subnets in the same Availability Zone. A SINGLE_INSTANCE deployment requires one subnet (for example, the default subnet). An ACTIVE_STANDBY_MULTI_AZ Amazon MQ for ActiveMQ deployment requires two subnets. A CLUSTER_MULTI_AZ Amazon MQ for RabbitMQ deployment has no subnet requirements when deployed with public accessibility. Deployment without public accessibility requires at least one subnet.
If you specify subnets in a shared VPC for a RabbitMQ broker, the associated VPC to which the specified subnets belong must be owned by your Amazon Web Services account. Amazon MQ will not be able to create VPC endpoints in VPCs that are not owned by your Amazon Web Services account.
users
instance-attribute
¶
users: NotRequired[__listOfUser]
The list of broker users (persons or applications) who can access queues and topics. For Amazon MQ for RabbitMQ brokers, an administrative user is required if using simple authentication and authorization. For brokers using OAuth2, this user is optional. When provided, one and only one administrative user is accepted and created when a broker is first provisioned. All subsequent broker users are created by making RabbitMQ API calls directly to brokers or via the RabbitMQ web console.