AWS Fundamentals Logo
AWS Fundamentals
L1 ConstructAWS::MSK::ClusterPolicy

CfnClusterPolicy

Create or update cluster policy.

Import

import { CfnClusterPolicy } from 'aws-cdk-lib/aws-msk';

Or use the module namespace:

import * as msk from 'aws-cdk-lib/aws-msk';
// msk.CfnClusterPolicy

Properties

Configuration passed to the constructor as CfnClusterPolicyProps.

clusterArnRequired
string

The Amazon Resource Name (ARN) that uniquely identifies the cluster.

policyRequired
any

Resource policy for the cluster. The maximum size supported for a resource-based policy document is 20 KB.

CloudFormation Resource

This L1 construct maps directly to the following CloudFormation resource type.

Learn AWS the Practical Way

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

Subscribe to Newsletter