#[non_exhaustive]
pub struct CreateBrokerInput { /* private fields */ }
Expand description

Creates a broker using the specified properties.

Implementations§

source§

impl CreateBrokerInput

source

pub fn authentication_strategy(&self) -> Option<&AuthenticationStrategy>

Optional. The authentication strategy used to secure the broker. The default is SIMPLE.

source

pub fn auto_minor_version_upgrade(&self) -> bool

Enables automatic upgrades to new minor versions for brokers, as new versions are released and supported by Amazon MQ. Automatic upgrades occur during the scheduled maintenance window of the broker or after a manual broker reboot. Set to true by default, if no value is specified.

source

pub fn broker_name(&self) -> Option<&str>

Required. The broker's name. 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 white spaces, brackets, wildcard characters, or special characters.

source

pub fn configuration(&self) -> Option<&ConfigurationId>

A list of information about the configuration.

source

pub fn creator_request_id(&self) -> Option<&str>

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.

source

pub fn deployment_mode(&self) -> Option<&DeploymentMode>

Required. The broker's deployment mode.

source

pub fn encryption_options(&self) -> Option<&EncryptionOptions>

Encryption options for the broker. Does not apply to RabbitMQ brokers.

source

pub fn engine_type(&self) -> Option<&EngineType>

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

source

pub fn engine_version(&self) -> Option<&str>

Required. The broker engine's version. For a list of supported engine versions, see Supported engines.

source

pub fn host_instance_type(&self) -> Option<&str>

Required. The broker's instance type.

source

pub fn ldap_server_metadata(&self) -> Option<&LdapServerMetadataInput>

Optional. The metadata of the LDAP server used to authenticate and authorize connections to the broker. Does not apply to RabbitMQ brokers.

source

pub fn logs(&self) -> Option<&Logs>

Enables Amazon CloudWatch logging for brokers.

source

pub fn maintenance_window_start_time(&self) -> Option<&WeeklyStartTime>

The parameters that determine the WeeklyStartTime.

source

pub fn publicly_accessible(&self) -> bool

Enables connections from applications outside of the VPC that hosts the broker's subnets. Set to false by default, if no value is provided.

source

pub fn security_groups(&self) -> Option<&[String]>

The list of rules (1 minimum, 125 maximum) that authorize connections to brokers.

source

pub fn storage_type(&self) -> Option<&BrokerStorageType>

The broker's storage type.

source

pub fn subnet_ids(&self) -> Option<&[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 AWS account. Amazon MQ will not be able to create VPC endpoints in VPCs that are not owned by your AWS account.

source

pub fn tags(&self) -> Option<&HashMap<String, String>>

Create tags when creating the broker.

source

pub fn users(&self) -> Option<&[User]>

Required. The list of broker 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.

Amazon MQ for RabbitMQ

When you create an Amazon MQ for RabbitMQ broker, 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.

source§

impl CreateBrokerInput

source

pub fn builder() -> CreateBrokerInputBuilder

Creates a new builder-style object to manufacture CreateBrokerInput.

source§

impl CreateBrokerInput

source

pub async fn make_operation( self, _config: &Config ) -> Result<Operation<CreateBroker, AwsResponseRetryClassifier>, BuildError>

Consumes the builder and constructs an Operation<CreateBroker>

Trait Implementations§

source§

impl Clone for CreateBrokerInput

source§

fn clone(&self) -> CreateBrokerInput

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for CreateBrokerInput

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl PartialEq<CreateBrokerInput> for CreateBrokerInput

source§

fn eq(&self, other: &CreateBrokerInput) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl StructuralPartialEq for CreateBrokerInput

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

const: unstable · source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

const: unstable · source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

const: unstable · source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T> Instrument for T

source§

fn instrument(self, span: Span) -> Instrumented<Self>

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

fn in_current_span(self) -> Instrumented<Self>

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

impl<T, U> Into<U> for Twhere U: From<T>,

const: unstable · source§

fn into(self) -> U

Calls U::from(self).

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

source§

impl<T> Same<T> for T

§

type Output = T

Should always be Self
source§

impl<T> ToOwned for Twhere T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

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

fn clone_into(&self, target: &mut T)

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

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
const: unstable · source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
const: unstable · source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<T> WithSubscriber for T

source§

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
source§

fn with_current_subscriber(self) -> WithDispatch<Self>

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