Class CfnKeyspaceProps
Properties for defining a CfnKeyspace
.
Inheritance
Implements
Namespace: Amazon.CDK.AWS.Cassandra
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnKeyspaceProps : Object, ICfnKeyspaceProps
Syntax (vb)
Public Class CfnKeyspaceProps
Inherits Object
Implements ICfnKeyspaceProps
Remarks
See: 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 cfnKeyspaceProps = new CfnKeyspaceProps {
KeyspaceName = "keyspaceName",
ReplicationSpecification = new ReplicationSpecificationProperty {
RegionList = new [] { "regionList" },
ReplicationStrategy = "replicationStrategy"
},
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} }
};
Synopsis
Constructors
CfnKeyspaceProps() |
Properties
KeyspaceName | The name of the keyspace to be created. |
ReplicationSpecification | Specifies the |
Tags | An array of key-value pairs to apply to this resource. |
Constructors
CfnKeyspaceProps()
public CfnKeyspaceProps()
Properties
KeyspaceName
The name of the keyspace to be created.
public 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}$
ReplicationSpecification
Specifies the ReplicationStrategy
of a keyspace. The options are:.
public object ReplicationSpecification { get; set; }
Property Value
System.Object
Remarks
If no ReplicationStrategy
is provided, the default is SINGLE_REGION
. If you choose MULTI_REGION
, you must also provide a RegionList
with the AWS Regions that the keyspace is replicated in.
Tags
An array of key-value pairs to apply to this resource.
public ICfnTag[] Tags { get; set; }
Property Value
ICfnTag[]
Remarks
For more information, see Tag .