Class CfnKeyspace
A CloudFormation AWS::Cassandra::Keyspace
.
Inherited Members
Namespace: Amazon.CDK.AWS.Cassandra
Assembly: Amazon.CDK.AWS.Cassandra.dll
Syntax (csharp)
public class CfnKeyspace : CfnResource, IConstruct, IDependable, IInspectable
Syntax (vb)
Public Class CfnKeyspace
Inherits CfnResource
Implements IConstruct, IDependable, IInspectable
Remarks
You can use the AWS::Cassandra::Keyspace
resource to create a new keyspace in Amazon Keyspaces (for Apache Cassandra). For more information, see Create a keyspace and a table in the Amazon Keyspaces Developer Guide .
CloudformationResource: AWS::Cassandra::Keyspace
Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cassandra-keyspace.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.Cassandra;
var cfnKeyspace = new CfnKeyspace(this, "MyCfnKeyspace", new CfnKeyspaceProps {
KeyspaceName = "keyspaceName",
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} }
});
Synopsis
Constructors
CfnKeyspace(Construct, String, ICfnKeyspaceProps) | Create a new |
CfnKeyspace(ByRefValue) | Used by jsii to construct an instance of this class from a Javascript-owned object reference |
CfnKeyspace(DeputyBase.DeputyProps) | Used by jsii to construct an instance of this class from DeputyProps |
Properties
CFN_RESOURCE_TYPE_NAME | The CloudFormation resource type name for this resource class. |
CfnProperties | |
KeyspaceName | The name of the keyspace to be created. |
Tags | A list of key-value pair tags to be attached to the resource. |
Methods
Inspect(TreeInspector) | Examines the CloudFormation resource and discloses attributes. |
RenderProperties(IDictionary<String, Object>) |
Constructors
CfnKeyspace(Construct, String, ICfnKeyspaceProps)
Create a new AWS::Cassandra::Keyspace
.
public CfnKeyspace(Construct scope, string id, ICfnKeyspaceProps props = null)
Parameters
- scope Construct
- scope in which this resource is defined.
- id System.String
- scoped id of the resource.
- props ICfnKeyspaceProps
- resource properties.
CfnKeyspace(ByRefValue)
Used by jsii to construct an instance of this class from a Javascript-owned object reference
protected CfnKeyspace(ByRefValue reference)
Parameters
- reference Amazon.JSII.Runtime.Deputy.ByRefValue
The Javascript-owned object reference
CfnKeyspace(DeputyBase.DeputyProps)
Used by jsii to construct an instance of this class from DeputyProps
protected CfnKeyspace(DeputyBase.DeputyProps props)
Parameters
- props Amazon.JSII.Runtime.Deputy.DeputyBase.DeputyProps
The deputy props
Properties
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
KeyspaceName
The name of the keyspace to be created.
public virtual string KeyspaceName { get; set; }
Property Value
System.String
Remarks
The keyspace name is case sensitive. If you don't specify a name, AWS CloudFormation generates a unique ID and uses that ID for the keyspace name. For more information, see Name type .
Length constraints: Minimum length of 3. Maximum length of 255.
Pattern: ^[a-zA-Z0-9][a-zA-Z0-9_]{1,47}$
Tags
A list of key-value pair tags to be attached to the resource.
public virtual TagManager Tags { get; }
Property Value
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>