logo
pub struct CreateBrokerRequest {
Show 19 fields pub authentication_strategy: Option<String>, pub auto_minor_version_upgrade: Option<bool>, pub broker_name: Option<String>, pub configuration: Option<ConfigurationId>, pub creator_request_id: Option<String>, pub deployment_mode: Option<String>, pub encryption_options: Option<EncryptionOptions>, pub engine_type: Option<String>, pub engine_version: Option<String>, pub host_instance_type: Option<String>, pub ldap_server_metadata: Option<LdapServerMetadataInput>, pub logs: Option<Logs>, pub maintenance_window_start_time: Option<WeeklyStartTime>, pub publicly_accessible: Option<bool>, pub security_groups: Option<Vec<String>>, pub storage_type: Option<String>, pub subnet_ids: Option<Vec<String>>, pub tags: Option<HashMap<String, String>>, pub users: Option<Vec<User>>,
}
Expand description

Creates a broker using the specified properties.

Fields

authentication_strategy: Option<String>

The authentication strategy used to secure the broker.

auto_minor_version_upgrade: Option<bool>

Required. Enables automatic upgrades to new minor versions for brokers, as Apache releases the versions. The automatic upgrades occur during the maintenance window of the broker or after a manual broker reboot.

broker_name: Option<String>

Required. The name of the broker. This value must be unique in your AWS account, 1-50 characters long, must contain only letters, numbers, dashes, and underscores, and must not contain whitespaces, brackets, wildcard characters, or special characters.

configuration: Option<ConfigurationId>

A list of information about the configuration.

creator_request_id: Option<String>

The unique ID that the requester receives for the created broker. Amazon MQ passes your ID with the API action. Note: We recommend using a Universally Unique Identifier (UUID) for the creatorRequestId. You may omit the creatorRequestId if your application doesn't require idempotency.

deployment_mode: Option<String>

Required. The deployment mode of the broker.

encryption_options: Option<EncryptionOptions>

Encryption options for the broker.

engine_type: Option<String>

Required. The type of broker engine. Note: Currently, Amazon MQ supports ACTIVEMQ and RABBITMQ.

engine_version: Option<String>

Required. The version of the broker engine. For a list of supported engine versions, see https://docs.aws.amazon.com/amazon-mq/latest/developer-guide/broker-engine.html

host_instance_type: Option<String>

Required. The broker's instance type.

ldap_server_metadata: Option<LdapServerMetadataInput>

The metadata of the LDAP server used to authenticate and authorize connections to the broker.

logs: Option<Logs>

Enables Amazon CloudWatch logging for brokers.

maintenance_window_start_time: Option<WeeklyStartTime>

The parameters that determine the WeeklyStartTime.

publicly_accessible: Option<bool>

Required. Enables connections from applications outside of the VPC that hosts the broker's subnets.

security_groups: Option<Vec<String>>

The list of security groups (1 minimum, 5 maximum) that authorizes connections to brokers.

storage_type: Option<String>

The broker's storage type.

subnet_ids: Option<Vec<String>>

The list of groups that define which subnets and IP ranges the broker can use from different Availability Zones. A SINGLEINSTANCE deployment requires one subnet (for example, the default subnet). An ACTIVESTANDBYMULTIAZ deployment (ACTIVEMQ) requires two subnets. A CLUSTERMULTIAZ deployment (RABBITMQ) has no subnet requirements when deployed with public accessibility, deployment without public accessibility requires at least one subnet.

tags: Option<HashMap<String, String>>

Create tags when creating the broker.

users: Option<Vec<User>>

Required. The list of broker users (persons or applications) who can access queues and topics. For RabbitMQ brokers, 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. This value can contain only alphanumeric characters, dashes, periods, underscores, and tildes (- . _ ~). This value must be 2-100 characters long.

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Returns the “default value” for a type. Read more

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Should always be Self

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more