interface CfnKeyspaceMixinProps
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.Cassandra.Mixins.CfnKeyspaceMixinProps |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awscassandra/mixins#CfnKeyspaceMixinProps |
Java | software.amazon.awscdk.mixins.preview.services.cassandra.mixins.CfnKeyspaceMixinProps |
Python | aws_cdk.mixins_preview.aws_cassandra.mixins.CfnKeyspaceMixinProps |
TypeScript | @aws-cdk/mixins-preview » aws_cassandra » mixins » CfnKeyspaceMixinProps |
Properties for CfnKeyspacePropsMixin.
See also: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cassandra-keyspace.html
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { mixins as cassandra_mixins } from '@aws-cdk/mixins-preview/aws-cassandra';
const cfnKeyspaceMixinProps: cassandra_mixins.CfnKeyspaceMixinProps = {
clientSideTimestampsEnabled: false,
keyspaceName: 'keyspaceName',
replicationSpecification: {
regionList: ['regionList'],
replicationStrategy: 'replicationStrategy',
},
tags: [{
key: 'key',
value: 'value',
}],
};
Properties
| Name | Type | Description |
|---|---|---|
| client | boolean | IResolvable | Indicates whether client-side timestamps are enabled (true) or disabled (false) for all tables in the keyspace. |
| keyspace | string | The name of the keyspace to be created. |
| replication | IResolvable | Replication | Specifies the ReplicationStrategy of a keyspace. The options are:. |
| tags? | Cfn[] | An array of key-value pairs to apply to this resource. |
clientSideTimestampsEnabled?
Type:
boolean | IResolvable
(optional)
Indicates 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.
keyspaceName?
Type:
string
(optional)
The 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 .
Length constraints: Minimum length of 1. Maximum length of 48.
replicationSpecification?
Type:
IResolvable | Replication
(optional)
Specifies the ReplicationStrategy of a keyspace. The options are:.
SINGLE_REGIONfor a single Region keyspace (optional) orMULTI_REGIONfor 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.
tags?
Type:
Cfn[]
(optional)
An array of key-value pairs to apply to this resource.
For more information, see Tag .

.NET
Go
Java
Python
TypeScript