Class CfnClusterPolicy.Builder
java.lang.Object
software.amazon.awscdk.services.msk.CfnClusterPolicy.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnClusterPolicy>
- Enclosing class:
CfnClusterPolicy
@Stability(Stable)
public static final class CfnClusterPolicy.Builder
extends Object
implements software.amazon.jsii.Builder<CfnClusterPolicy>
A fluent builder for
CfnClusterPolicy.-
Method Summary
Modifier and TypeMethodDescriptionbuild()clusterArn(String clusterArn) The Amazon Resource Name (ARN) that uniquely identifies the cluster.static CfnClusterPolicy.BuilderResource policy for the cluster.
-
Method Details
-
create
@Stability(Stable) public static CfnClusterPolicy.Builder create(software.constructs.Construct scope, String id) - Parameters:
scope- Scope in which this resource is defined. This parameter is required.id- Construct identifier for this resource (unique in its scope). This parameter is required.- Returns:
- a new instance of
CfnClusterPolicy.Builder.
-
clusterArn
The Amazon Resource Name (ARN) that uniquely identifies the cluster.- Parameters:
clusterArn- The Amazon Resource Name (ARN) that uniquely identifies the cluster. This parameter is required.- Returns:
this- See Also:
-
policy
Resource policy for the cluster.The maximum size supported for a resource-based policy document is 20 KB.
- Parameters:
policy- Resource policy for the cluster. This parameter is required.- Returns:
this- See Also:
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnClusterPolicy>- Returns:
- a newly built instance of
CfnClusterPolicy.
-