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.
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§
Source§impl Clone for CreateBrokerRequest
impl Clone for CreateBrokerRequest
Source§fn clone(&self) -> CreateBrokerRequest
fn clone(&self) -> CreateBrokerRequest
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more