AWS::Cassandra::KeyspaceYou 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](https://docs.aws.amazon.com/keyspaces/latest/devguide/getting-started.keyspaces.html) in the *Amazon Keyspaces Developer Guide* .
import { CfnKeyspace } from 'aws-cdk-lib/aws-cassandra';Or use the module namespace:
import * as cassandra from 'aws-cdk-lib/aws-cassandra';
// cassandra.CfnKeyspaceConfiguration passed to the constructor as CfnKeyspaceProps.
clientSideTimestampsEnabledOptionalboolean | IResolvableIndicates whether client-side timestamps are enabled (true) or disabled (false) for all tables in the keyspace. 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.
keyspaceNameOptionalstringThe name of the keyspace to be created. 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](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-name.html) . *Length constraints:* Minimum length of 1. Maximum length of 48.
replicationSpecificationOptionalIResolvable | ReplicationSpecificationPropertySpecifies the `ReplicationStrategy` of a keyspace. The options are:. - `SINGLE_REGION` for a single Region keyspace (optional) or - `MULTI_REGION` for a multi-Region keyspace 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.
tagsOptionalCfnTag[]An array of key-value pairs to apply to this resource. For more information, see [Tag](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-resource-tags.html) .
This L1 construct maps directly to the following CloudFormation resource type.
Our bi-weekly newsletter teaches hands-on AWS fundamentals. No certification fluff - just practical knowledge.
Subscribe to Newsletteraws-cassandraAWS::Cassandra::Keyspace