pub struct CreateBrokerRequest {Show 17 fields
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 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§
§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 only ACTIVEMQ.
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.
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 (2 maximum) 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 requires two subnets.
Create tags when creating the broker.
users: Option<Vec<User>>
Required. The list of ActiveMQ users (persons or applications) who can access queues and topics. 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