Class CfnClusterPolicy
A CloudFormation AWS::MSK::ClusterPolicy
.
Inherited Members
Namespace: Amazon.CDK.AWS.MSK
Assembly: Amazon.CDK.AWS.MSK.dll
Syntax (csharp)
public class CfnClusterPolicy : CfnResource, IConstruct, IDependable, IInspectable
Syntax (vb)
Public Class CfnClusterPolicy
Inherits CfnResource
Implements IConstruct, IDependable, IInspectable
Remarks
Create or update cluster policy.
CloudformationResource: AWS::MSK::ClusterPolicy
Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-msk-clusterpolicy.html
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.MSK;
var policy;
var cfnClusterPolicy = new CfnClusterPolicy(this, "MyCfnClusterPolicy", new CfnClusterPolicyProps {
ClusterArn = "clusterArn",
Policy = policy
});
Synopsis
Constructors
CfnClusterPolicy(Construct, String, ICfnClusterPolicyProps) | Create a new |
CfnClusterPolicy(ByRefValue) | Used by jsii to construct an instance of this class from a Javascript-owned object reference |
CfnClusterPolicy(DeputyBase.DeputyProps) | Used by jsii to construct an instance of this class from DeputyProps |
Properties
AttrCurrentVersion | The current version of the policy attached to the specified cluster. |
CFN_RESOURCE_TYPE_NAME | The CloudFormation resource type name for this resource class. |
CfnProperties | |
ClusterArn | The Amazon Resource Name (ARN) that uniquely identifies the cluster. |
Policy | Resource policy for the cluster. |
Methods
Inspect(TreeInspector) | Examines the CloudFormation resource and discloses attributes. |
RenderProperties(IDictionary<String, Object>) |
Constructors
CfnClusterPolicy(Construct, String, ICfnClusterPolicyProps)
Create a new AWS::MSK::ClusterPolicy
.
public CfnClusterPolicy(Construct scope, string id, ICfnClusterPolicyProps props)
Parameters
- scope Construct
- scope in which this resource is defined.
- id System.String
- scoped id of the resource.
- props ICfnClusterPolicyProps
- resource properties.
CfnClusterPolicy(ByRefValue)
Used by jsii to construct an instance of this class from a Javascript-owned object reference
protected CfnClusterPolicy(ByRefValue reference)
Parameters
- reference Amazon.JSII.Runtime.Deputy.ByRefValue
The Javascript-owned object reference
CfnClusterPolicy(DeputyBase.DeputyProps)
Used by jsii to construct an instance of this class from DeputyProps
protected CfnClusterPolicy(DeputyBase.DeputyProps props)
Parameters
- props Amazon.JSII.Runtime.Deputy.DeputyBase.DeputyProps
The deputy props
Properties
AttrCurrentVersion
The current version of the policy attached to the specified cluster.
public virtual string AttrCurrentVersion { get; }
Property Value
System.String
Remarks
CloudformationAttribute: CurrentVersion
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
public static string CFN_RESOURCE_TYPE_NAME { get; }
Property Value
System.String
CfnProperties
protected override IDictionary<string, object> CfnProperties { get; }
Property Value
System.Collections.Generic.IDictionary<System.String, System.Object>
Overrides
ClusterArn
The Amazon Resource Name (ARN) that uniquely identifies the cluster.
public virtual string ClusterArn { get; set; }
Property Value
System.String
Remarks
Policy
Resource policy for the cluster.
public virtual object Policy { get; set; }
Property Value
System.Object
Remarks
Methods
Inspect(TreeInspector)
Examines the CloudFormation resource and discloses attributes.
public virtual void Inspect(TreeInspector inspector)
Parameters
- inspector TreeInspector
- tree inspector to collect and process attributes.
RenderProperties(IDictionary<String, Object>)
protected override IDictionary<string, object> RenderProperties(IDictionary<string, object> props)
Parameters
- props System.Collections.Generic.IDictionary<System.String, System.Object>
Returns
System.Collections.Generic.IDictionary<System.String, System.Object>