Interface CfnKeyspaceProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnKeyspaceProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.103.1 (build bef2dea)",
date="2024-10-25T14:21:11.238Z")
@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() .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
Modifier and TypeInterfaceDescriptionstatic final class
A builder forCfnKeyspaceProps
static final class
An implementation forCfnKeyspaceProps
-
Method Summary
Modifier and TypeMethodDescriptionstatic CfnKeyspaceProps.Builder
builder()
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
-
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
-