Skip to main content

cluster_policy

Gets an individual cluster_policy resource

Overview

Namecluster_policy
TypeResource
Descriptioncluster_policy
Idawscc.msk.cluster_policy

Fields

NameDatatypeDescription
policyobjectA policy document containing permissions to add to the specified cluster.
cluster_arnstringThe arn of the cluster for the resource policy.
current_versionstringThe current version of the policy attached to the specified cluster
regionstringAWS region.

Methods

Currently only SELECT is supported for this resource resource.

Example

SELECT
region,
policy,
cluster_arn,
current_version
FROM awscc.msk.cluster_policy
WHERE data__Identifier = '<ClusterArn>';

Permissions

To operate on the cluster_policy resource, the following permissions are required:

Read

kafka:GetClusterPolicy

Update

kafka:PutClusterPolicy,
kafka:GetClusterPolicy

Delete

kafka:DeleteClusterPolicy,
kafka:GetClusterPolicy