Interface CfnKeyspaceProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnKeyspaceProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.104.0 (build e79254c)",
date="2025-01-15T21:09:15.452Z")
@Stability(Stable)
public interface CfnKeyspaceProps
extends software.amazon.jsii.JsiiSerializable
Properties for defining a
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 class
A builder forCfnKeyspaceProps
static final class
An implementation forCfnKeyspaceProps
-
Method Summary
Modifier and TypeMethodDescriptionstatic CfnKeyspaceProps.Builder
builder()
default Object
Indicates whether client-side timestamps are enabled (true) or disabled (false) for all tables in the keyspace.default String
The name of the keyspace to be created.default Object
Specifies theReplicationStrategy
of 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.
- 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 3. Maximum length of 255.
Pattern:
^[a-zA-Z0-9][a-zA-Z0-9_]{1,47}$
- See Also:
-
getReplicationSpecification
Specifies theReplicationStrategy
of a keyspace. The options are:.SINGLE_REGION
for a single Region keyspace (optional) orMULTI_REGION
for a multi-Region keyspace
If no
ReplicationStrategy
is provided, the default isSINGLE_REGION
. If you chooseMULTI_REGION
, you must also provide aRegionList
with the AWS Regions that the keyspace is replicated in.- 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.Builder
ofCfnKeyspaceProps
-