Class: Aws::Kafka::Types::CreateClusterRequest
- Inherits:
-
Struct
- Object
- Struct
- Aws::Kafka::Types::CreateClusterRequest
- 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
-
#broker_node_group_info ⇒ Types::BrokerNodeGroupInfo
Information about the broker nodes in the cluster.
-
#cluster_name ⇒ String
The name of the cluster.
-
#encryption_info ⇒ Types::EncryptionInfo
Includes all encryption-related information.
-
#enhanced_monitoring ⇒ String
Specifies the level of monitoring for the MSK cluster.
-
#kafka_version ⇒ String
The version of Apache Kafka.
-
#number_of_broker_nodes ⇒ Integer
The number of Kafka broker nodes in the Amazon MSK cluster.
Instance Attribute Details
#broker_node_group_info ⇒ Types::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_name ⇒ String
The name of 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 |
#encryption_info ⇒ Types::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_monitoring ⇒ String
Specifies the level of monitoring for the MSK cluster. The possible values are DEFAULT, PER_BROKER, and PER_TOPIC_PER_BROKER.
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_version ⇒ String
The version of Apache Kafka.
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_nodes ⇒ Integer
The number of Kafka broker nodes in the Amazon MSK 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 |