Interface CfnKeyspaceProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnKeyspaceProps.Jsii$Proxy
CfnKeyspace.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.cassandra.*;
CfnKeyspaceProps cfnKeyspaceProps = CfnKeyspaceProps.builder()
.clientSideTimestampsEnabled(false)
.keyspaceName("keyspaceName")
.replicationSpecification(ReplicationSpecificationProperty.builder()
.regionList(List.of("regionList"))
.replicationStrategy("replicationStrategy")
.build())
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnKeyspacePropsstatic final classAn implementation forCfnKeyspaceProps -
Method Summary
Modifier and TypeMethodDescriptionstatic CfnKeyspaceProps.Builderbuilder()default ObjectIndicates whether client-side timestamps are enabled (true) or disabled (false) for all tables in the keyspace.default StringThe name of the keyspace to be created.default ObjectSpecifies theReplicationStrategyof a keyspace.getTags()An array of key-value pairs to apply to this resource.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getClientSideTimestampsEnabled
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.
Returns union: either
BooleanorIResolvable- See Also:
-
getKeyspaceName
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.
- See Also:
-
getReplicationSpecification
Specifies theReplicationStrategyof a keyspace. The options are:.SINGLE_REGIONfor a single Region keyspace (optional) orMULTI_REGIONfor a multi-Region keyspace
If no
ReplicationStrategyis provided, the default isSINGLE_REGION. If you chooseMULTI_REGION, you must also provide aRegionListwith the AWS Regions that the keyspace is replicated in.Returns union: either
IResolvableorCfnKeyspace.ReplicationSpecificationProperty- See Also:
-
getTags
An array of key-value pairs to apply to this resource.For more information, see Tag .
- See Also:
-
builder
- Returns:
- a
CfnKeyspaceProps.BuilderofCfnKeyspaceProps
-