AWS Fundamentals Logo
AWS Fundamentals
AWS::MSK::ClusterPolicy

MSK ClusterPolicy

Resource Type definition for AWS::MSK::ClusterPolicy

Properties

2 configurable properties. 2 required. Click a row to see details.

Filter:
PropertyTypeFlags
ClusterArn
string
RequiredCreate-only
Policy
object
Required

Return Values

Values returned after the resource is created. Access these with Fn::GetAtt.

AttributeTypeDescription
CurrentVersionstringThe current version of the policy attached to the specified cluster

Sample CloudFormation Template

A minimal template with required properties and common optional ones.

template.yaml
AWSTemplateFormatVersion: "2010-09-09"
Description: Sample template for AWS::MSK::ClusterPolicy

Resources:
  MyResource:
    Type: AWS::MSK::ClusterPolicy
    Properties:
      Policy: {}
      ClusterArn: "arn:aws:service:region:account:resource"

Required IAM Permissions

Permissions CloudFormation needs in your IAM role to manage this resource.

create

kafka:PutClusterPolicykafka:GetClusterPolicy

read

kafka:GetClusterPolicy

list

kafka:GetClusterPolicy

update

kafka:PutClusterPolicykafka:GetClusterPolicy

delete

kafka:DeleteClusterPolicykafka:GetClusterPolicy

Learn AWS the Practical Way

Our bi-weekly newsletter teaches hands-on AWS fundamentals. No certification fluff - just practical knowledge.

Subscribe to Newsletter

Quick Facts

ServiceMSK
Properties3
Required2
TaggingNot supported
Primary IDClusterArn

Supported Operations

CreateReadListUpdateDelete

Immutable After Creation

These properties cannot be changed after the resource is created. Updating them triggers a replacement.

ClusterArn

External Links