Class: Aws::Kafka::Types::CreateClusterRequest

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-kafka/types.rb

Overview

Note:

When making an API call, you may pass CreateClusterRequest data as a hash:

{
  broker_node_group_info: { # required
    broker_az_distribution: "DEFAULT", # accepts DEFAULT
    client_subnets: ["__string"], # required
    instance_type: "__stringMin5Max32", # required
    security_groups: ["__string"],
    storage_info: {
      ebs_storage_info: {
        volume_size: 1,
      },
    },
  },
  cluster_name: "__stringMin1Max64", # required
  encryption_info: {
    encryption_at_rest: {
      data_volume_kms_key_id: "__string", # required
    },
  },
  enhanced_monitoring: "DEFAULT", # accepts DEFAULT, PER_BROKER, PER_TOPIC_PER_BROKER
  kafka_version: "__stringMin1Max128", # required
  number_of_broker_nodes: 1, # required
}

Creates a cluster.

Instance Attribute Summary collapse

Instance Attribute Details

#broker_node_group_infoTypes::BrokerNodeGroupInfo

Information about the broker nodes in the cluster.



250
251
252
253
254
255
256
257
258
# File 'lib/aws-sdk-kafka/types.rb', line 250

class CreateClusterRequest < Struct.new(
  :broker_node_group_info,
  :cluster_name,
  :encryption_info,
  :enhanced_monitoring,
  :kafka_version,
  :number_of_broker_nodes)
  include Aws::Structure
end

#cluster_nameString

The name of the cluster.

Returns:

  • (String)


250
251
252
253
254
255
256
257
258
# File 'lib/aws-sdk-kafka/types.rb', line 250

class CreateClusterRequest < Struct.new(
  :broker_node_group_info,
  :cluster_name,
  :encryption_info,
  :enhanced_monitoring,
  :kafka_version,
  :number_of_broker_nodes)
  include Aws::Structure
end

#encryption_infoTypes::EncryptionInfo

Includes all encryption-related information.



250
251
252
253
254
255
256
257
258
# File 'lib/aws-sdk-kafka/types.rb', line 250

class CreateClusterRequest < Struct.new(
  :broker_node_group_info,
  :cluster_name,
  :encryption_info,
  :enhanced_monitoring,
  :kafka_version,
  :number_of_broker_nodes)
  include Aws::Structure
end

#enhanced_monitoringString

Specifies the level of monitoring for the MSK cluster. The possible values are DEFAULT, PER_BROKER, and PER_TOPIC_PER_BROKER.

Returns:

  • (String)


250
251
252
253
254
255
256
257
258
# File 'lib/aws-sdk-kafka/types.rb', line 250

class CreateClusterRequest < Struct.new(
  :broker_node_group_info,
  :cluster_name,
  :encryption_info,
  :enhanced_monitoring,
  :kafka_version,
  :number_of_broker_nodes)
  include Aws::Structure
end

#kafka_versionString

The version of Apache Kafka.

Returns:

  • (String)


250
251
252
253
254
255
256
257
258
# File 'lib/aws-sdk-kafka/types.rb', line 250

class CreateClusterRequest < Struct.new(
  :broker_node_group_info,
  :cluster_name,
  :encryption_info,
  :enhanced_monitoring,
  :kafka_version,
  :number_of_broker_nodes)
  include Aws::Structure
end

#number_of_broker_nodesInteger

The number of Kafka broker nodes in the Amazon MSK cluster.

Returns:

  • (Integer)


250
251
252
253
254
255
256
257
258
# File 'lib/aws-sdk-kafka/types.rb', line 250

class CreateClusterRequest < Struct.new(
  :broker_node_group_info,
  :cluster_name,
  :encryption_info,
  :enhanced_monitoring,
  :kafka_version,
  :number_of_broker_nodes)
  include Aws::Structure
end