Struct rusoto_mq::CreateBrokerRequest
source · [−]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
sourceimpl Clone for CreateBrokerRequest
impl Clone for CreateBrokerRequest
sourcefn clone(&self) -> CreateBrokerRequest
fn clone(&self) -> CreateBrokerRequest
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for CreateBrokerRequest
impl Debug for CreateBrokerRequest
sourceimpl Default for CreateBrokerRequest
impl Default for CreateBrokerRequest
sourcefn default() -> CreateBrokerRequest
fn default() -> CreateBrokerRequest
Returns the “default value” for a type. Read more
sourceimpl PartialEq<CreateBrokerRequest> for CreateBrokerRequest
impl PartialEq<CreateBrokerRequest> for CreateBrokerRequest
sourcefn eq(&self, other: &CreateBrokerRequest) -> bool
fn eq(&self, other: &CreateBrokerRequest) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &CreateBrokerRequest) -> bool
fn ne(&self, other: &CreateBrokerRequest) -> bool
This method tests for !=
.
sourceimpl Serialize for CreateBrokerRequest
impl Serialize for CreateBrokerRequest
impl StructuralPartialEq for CreateBrokerRequest
Auto Trait Implementations
impl RefUnwindSafe for CreateBrokerRequest
impl Send for CreateBrokerRequest
impl Sync for CreateBrokerRequest
impl Unpin for CreateBrokerRequest
impl UnwindSafe for CreateBrokerRequest
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more