Class CfnClusterPolicy
Create or update cluster policy.
Implements
Inherited Members
Namespace: Amazon.CDK.AWS.MSK
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnClusterPolicy : CfnResource, IInspectable
Syntax (vb)
Public Class CfnClusterPolicy
Inherits CfnResource
Implements IInspectable
Remarks
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-msk-clusterpolicy.html
CloudformationResource: AWS::MSK::ClusterPolicy
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(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 |
CfnClusterPolicy(Construct, String, ICfnClusterPolicyProps) |
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(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
CfnClusterPolicy(Construct, String, ICfnClusterPolicyProps)
public CfnClusterPolicy(Construct scope, string id, ICfnClusterPolicyProps props)
Parameters
- scope Constructs.Construct
Scope in which this resource is defined.
- id System.String
Construct identifier for this resource (unique in its scope).
- props ICfnClusterPolicyProps
Resource properties.
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
Policy
Resource policy for the cluster.
public virtual object Policy { get; set; }
Property Value
System.Object
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>