AWS::MSK::ClusterPolicy
Create or update cluster policy.
Syntax
To declare this entity in your Amazon CloudFormation template, use the following syntax:
JSON
{ "Type" : "AWS::MSK::ClusterPolicy", "Properties" : { "ClusterArn" :String, "Policy" :Json} }
YAML
Type: AWS::MSK::ClusterPolicy Properties: ClusterArn:StringPolicy:Json
Properties
ClusterArn-
The Amazon Resource Name (ARN) that uniquely identifies the cluster.
Required: Yes
Type: String
Update requires: Replacement
Policy-
Resource policy for the cluster.
Required: Yes
Type: Json
Update requires: No interruption
Return values
Ref
When you pass the logical ID of this resource to the intrinsic Reffunction, Refreturns the ARN of the cluster for the resource policy.
For Amazon MSK cluster policy MyClusterPolicy, Ref returns the cluster ARN for the resource policy whose logical ID is MyClusterPolicy.
For more information about using the Reffunction, see Ref.
Fn::GetAtt
The Fn::GetAttintrinsic function returns a value for a specified attribute of this type. The following are the available attributes and sample return values.
For more information about using the Fn::GetAttintrinsic function, see Fn::GetAtt.