Show / Hide Table of Contents

Class CfnKeyspaceProps

Properties for defining a CfnKeyspace.

Inheritance
object
CfnKeyspaceProps
Implements
ICfnKeyspaceProps
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: Amazon.CDK.AWS.Cassandra
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnKeyspaceProps : ICfnKeyspaceProps
Syntax (vb)
Public Class CfnKeyspaceProps 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 {
                 ClientSideTimestampsEnabled = false,
                 KeyspaceName = "keyspaceName",
                 ReplicationSpecification = new ReplicationSpecificationProperty {
                     RegionList = new [] { "regionList" },
                     ReplicationStrategy = "replicationStrategy"
                 },
                 Tags = new [] { new CfnTag {
                     Key = "key",
                     Value = "value"
                 } }
             };

Synopsis

Constructors

CfnKeyspaceProps()

Properties for defining a CfnKeyspace.

Properties

ClientSideTimestampsEnabled

Indicates whether client-side timestamps are enabled (true) or disabled (false) for all tables in the keyspace.

KeyspaceName

The name of the keyspace to be created.

ReplicationSpecification

Specifies the ReplicationStrategy of a keyspace. The options are:.

Tags

An array of key-value pairs to apply to this resource.

Constructors

CfnKeyspaceProps()

Properties for defining a CfnKeyspace.

public CfnKeyspaceProps()
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 {
                 ClientSideTimestampsEnabled = false,
                 KeyspaceName = "keyspaceName",
                 ReplicationSpecification = new ReplicationSpecificationProperty {
                     RegionList = new [] { "regionList" },
                     ReplicationStrategy = "replicationStrategy"
                 },
                 Tags = new [] { new CfnTag {
                     Key = "key",
                     Value = "value"
                 } }
             };

Properties

ClientSideTimestampsEnabled

Indicates whether client-side timestamps are enabled (true) or disabled (false) for all tables in the keyspace.

public object? ClientSideTimestampsEnabled { get; set; }
Property Value

object

Remarks

To add a Region to a single-Region keyspace with at least one table, the value must be set to true. After you've enabled client-side timestamps for a table, you can’t disable it again.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cassandra-keyspace.html#cfn-cassandra-keyspace-clientsidetimestampsenabled

KeyspaceName

The name of the keyspace to be created.

public string? KeyspaceName { get; set; }
Property Value

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 1. Maximum length of 48.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cassandra-keyspace.html#cfn-cassandra-keyspace-keyspacename

ReplicationSpecification

Specifies the ReplicationStrategy of a keyspace. The options are:.

public object? ReplicationSpecification { get; set; }
Property Value

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.

    See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cassandra-keyspace.html#cfn-cassandra-keyspace-replicationspecification

    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 .

    See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cassandra-keyspace.html#cfn-cassandra-keyspace-tags

    Implements

    ICfnKeyspaceProps
    Back to top Generated by DocFX