Class CfnServerlessCluster
Specifies the properties required for creating a serverless cluster.
Inherited Members
Namespace: Amazon.CDK.AWS.MSK
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnServerlessCluster : CfnResource, IInspectable, ITaggable
Syntax (vb)
Public Class CfnServerlessCluster
Inherits CfnResource
Implements IInspectable, ITaggable
Remarks
CloudformationResource: AWS::MSK::ServerlessCluster
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 cfnServerlessCluster = new CfnServerlessCluster(this, "MyCfnServerlessCluster", new CfnServerlessClusterProps {
ClientAuthentication = new ClientAuthenticationProperty {
Sasl = new SaslProperty {
Iam = new IamProperty {
Enabled = false
}
}
},
ClusterName = "clusterName",
VpcConfigs = new [] { new VpcConfigProperty {
SubnetIds = new [] { "subnetIds" },
// the properties below are optional
SecurityGroups = new [] { "securityGroups" }
} },
// the properties below are optional
Tags = new Dictionary<string, string> {
{ "tagsKey", "tags" }
}
});
Synopsis
Constructors
CfnServerlessCluster(ByRefValue) | Used by jsii to construct an instance of this class from a Javascript-owned object reference |
CfnServerlessCluster(DeputyBase.DeputyProps) | Used by jsii to construct an instance of this class from DeputyProps |
CfnServerlessCluster(Construct, String, ICfnServerlessClusterProps) |
Properties
AttrArn | The Amazon Resource Name (ARN) of the MSK cluster. |
CFN_RESOURCE_TYPE_NAME | The CloudFormation resource type name for this resource class. |
CfnProperties | |
ClientAuthentication | Includes all client authentication related information. |
ClusterName | The name of the cluster. |
Tags | Tag Manager which manages the tags for this resource. |
TagsRaw | An arbitrary set of tags (key-value pairs) for the cluster. |
VpcConfigs | VPC configuration information for the serverless cluster. |
Methods
Inspect(TreeInspector) | Examines the CloudFormation resource and discloses attributes. |
RenderProperties(IDictionary<String, Object>) |
Constructors
CfnServerlessCluster(ByRefValue)
Used by jsii to construct an instance of this class from a Javascript-owned object reference
protected CfnServerlessCluster(ByRefValue reference)
Parameters
- reference Amazon.JSII.Runtime.Deputy.ByRefValue
The Javascript-owned object reference
CfnServerlessCluster(DeputyBase.DeputyProps)
Used by jsii to construct an instance of this class from DeputyProps
protected CfnServerlessCluster(DeputyBase.DeputyProps props)
Parameters
- props Amazon.JSII.Runtime.Deputy.DeputyBase.DeputyProps
The deputy props
CfnServerlessCluster(Construct, String, ICfnServerlessClusterProps)
public CfnServerlessCluster(Construct scope, string id, ICfnServerlessClusterProps 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 ICfnServerlessClusterProps
Resource properties.
Properties
AttrArn
The Amazon Resource Name (ARN) of the MSK cluster.
public virtual string AttrArn { get; }
Property Value
System.String
Remarks
CloudformationAttribute: Arn
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
ClientAuthentication
Includes all client authentication related information.
public virtual object ClientAuthentication { get; set; }
Property Value
System.Object
ClusterName
The name of the cluster.
public virtual string ClusterName { get; set; }
Property Value
System.String
Tags
Tag Manager which manages the tags for this resource.
public virtual TagManager Tags { get; }
Property Value
TagsRaw
An arbitrary set of tags (key-value pairs) for the cluster.
public virtual IDictionary<string, string> TagsRaw { get; set; }
Property Value
System.Collections.Generic.IDictionary<System.String, System.String>
VpcConfigs
VPC configuration information for the serverless cluster.
public virtual object VpcConfigs { 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>