AWS::MSK::ClusterResource Type definition for AWS::MSK::Cluster
13 configurable properties. 4 required. Click a row to see details.
| Property | Type | Flags |
|---|---|---|
BrokerNodeGroupInfo | BrokerNodeGroupInfo | Required |
ClusterName | string | RequiredCreate-only |
KafkaVersion | string | Required |
NumberOfBrokerNodes | integer | Required |
ClientAuthentication | ClientAuthentication | |
ConfigurationInfo | ConfigurationInfo | |
EncryptionInfo | EncryptionInfo | |
EnhancedMonitoring | string | |
LoggingInfo | LoggingInfo | |
OpenMonitoring | OpenMonitoring | |
Rebalancing | Rebalancing | |
StorageMode | string | |
Tags | object |
Values returned after the resource is created. Access these with Fn::GetAtt.
| Attribute | Type | Description |
|---|---|---|
Arn | string | - |
CurrentVersion | string | The current version of the MSK cluster |
A minimal template with required properties and common optional ones.
AWSTemplateFormatVersion: "2010-09-09"
Description: Sample template for AWS::MSK::Cluster
Resources:
MyResource:
Type: AWS::MSK::Cluster
Properties:
BrokerNodeGroupInfo: "value"
KafkaVersion: "value"
NumberOfBrokerNodes: 1
ClusterName: "my-clustername"
Tags:
- Key: Environment
Value: ProductionPermissions CloudFormation needs in your IAM role to manage this resource.
ec2:DescribeSecurityGroupsec2:DescribeSubnetsec2:DescribeVpcsiam:AttachRolePolicyiam:CreateServiceLinkedRoleiam:PutRolePolicykms:CreateGrantkms:DescribeKeykafka:UpdateMonitoringkafka:UpdateClusterKafkaVersionkafka:UpdateClusterConfigurationkafka:UpdateBrokerTypekafka:UpdateBrokerCountkafka:UpdateBrokerStoragekafka:UpdateStoragekafka:UpdateSecuritykafka:DeleteClusterkafka:DescribeClusterkafka:ListClusterskafka:DescribeClusterOur bi-weekly newsletter teaches hands-on AWS fundamentals. No certification fluff - just practical knowledge.
Subscribe to NewsletterArnThese properties cannot be changed after the resource is created. Updating them triggers a replacement.
BrokerNodeGroupInfo/BrokerAZDistributionBrokerNodeGroupInfo/ClientSubnetsBrokerNodeGroupInfo/SecurityGroupsEncryptionInfo/EncryptionAtRestEncryptionInfo/EncryptionInTransit/InClusterClusterName