You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Class: Aws::MQ::Types::CreateBrokerRequest

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing CreateBrokerRequest as input to an Aws::Client method, you can use a vanilla Hash:

{
  authentication_strategy: "SIMPLE", # accepts SIMPLE, LDAP
  auto_minor_version_upgrade: false,
  broker_name: "__string",
  configuration: {
    id: "__string",
    revision: 1,
  },
  creator_request_id: "__string",
  deployment_mode: "SINGLE_INSTANCE", # accepts SINGLE_INSTANCE, ACTIVE_STANDBY_MULTI_AZ, CLUSTER_MULTI_AZ
  encryption_options: {
    kms_key_id: "__string",
    use_aws_owned_key: false, # required
  },
  engine_type: "ACTIVEMQ", # accepts ACTIVEMQ, RABBITMQ
  engine_version: "__string",
  host_instance_type: "__string",
  ldap_server_metadata: {
    hosts: ["__string"],
    role_base: "__string",
    role_name: "__string",
    role_search_matching: "__string",
    role_search_subtree: false,
    service_account_password: "__string",
    service_account_username: "__string",
    user_base: "__string",
    user_role_name: "__string",
    user_search_matching: "__string",
    user_search_subtree: false,
  },
  logs: {
    audit: false,
    general: false,
  },
  maintenance_window_start_time: {
    day_of_week: "MONDAY", # accepts MONDAY, TUESDAY, WEDNESDAY, THURSDAY, FRIDAY, SATURDAY, SUNDAY
    time_of_day: "__string",
    time_zone: "__string",
  },
  publicly_accessible: false,
  security_groups: ["__string"],
  storage_type: "EBS", # accepts EBS, EFS
  subnet_ids: ["__string"],
  tags: {
    "__string" => "__string",
  },
  users: [
    {
      console_access: false,
      groups: ["__string"],
      password: "__string",
      username: "__string",
    },
  ],
}

Instance Attribute Summary collapse

Instance Attribute Details

#authentication_strategyString

The authentication strategy used to secure the broker.

Possible values:

  • SIMPLE
  • LDAP

Returns:

  • (String)

    The authentication strategy used to secure the broker.

#auto_minor_version_upgradeBoolean

Returns:

  • (Boolean)

#broker_nameString

Returns:

  • (String)

#configurationTypes::ConfigurationId

A list of information about the configuration. Does not apply to RabbitMQ brokers.

Returns:

#creator_request_idString

Returns:

  • (String)

#deployment_modeString

The deployment mode of the broker.

Possible values:

  • SINGLE_INSTANCE
  • ACTIVE_STANDBY_MULTI_AZ
  • CLUSTER_MULTI_AZ

Returns:

  • (String)

    The deployment mode of the broker.

#encryption_optionsTypes::EncryptionOptions

Encryption options for the broker.

Returns:

#engine_typeString

The type of broker engine. Note: Currently, Amazon MQ supports ActiveMQ and RabbitMQ.

Possible values:

  • ACTIVEMQ
  • RABBITMQ

Returns:

  • (String)

    The type of broker engine.

#engine_versionString

Returns:

  • (String)

#host_instance_typeString

Returns:

  • (String)

#ldap_server_metadataTypes::LdapServerMetadataInput

The metadata of the LDAP server used to authenticate and authorize connections to the broker. Currently not supported for RabbitMQ engine type.

Returns:

#logsTypes::Logs

The list of information about logs to be enabled for the specified broker.

Returns:

  • (Types::Logs)

    The list of information about logs to be enabled for the specified broker.

#maintenance_window_start_timeTypes::WeeklyStartTime

The scheduled time period relative to UTC during which Amazon MQ begins to apply pending updates or patches to the broker.

Returns:

  • (Types::WeeklyStartTime)

    The scheduled time period relative to UTC during which Amazon MQ begins to apply pending updates or patches to the broker.

#publicly_accessibleBoolean

Returns:

  • (Boolean)

#security_groupsArray<String>

Returns:

  • (Array<String>)

#storage_typeString

The storage type of the broker. EFS is currently not Supported for RabbitMQ engine type.

Possible values:

  • EBS
  • EFS

Returns:

  • (String)

    The storage type of the broker.

#subnet_idsArray<String>

Returns:

  • (Array<String>)

#tagsHash<String,String>

Returns:

  • (Hash<String,String>)

#usersArray<Types::User>

Returns: