CfnKeyspaceProps

class aws_cdk.aws_cassandra.CfnKeyspaceProps(*, keyspace_name=None, tags=None)

Bases: object

Properties for defining a CfnKeyspace.

Parameters:
  • keyspace_name (Optional[str]) – 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}$

  • tags (Optional[Sequence[Union[CfnTag, Dict[str, Any]]]]) – A list of key-value pair tags to be attached to the resource.

Link:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cassandra-keyspace.html

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
import aws_cdk.aws_cassandra as cassandra

cfn_keyspace_props = cassandra.CfnKeyspaceProps(
    keyspace_name="keyspaceName",
    tags=[CfnTag(
        key="key",
        value="value"
    )]
)

Attributes

keyspace_name

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}$

Link:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cassandra-keyspace.html#cfn-cassandra-keyspace-keyspacename

tags

A list of key-value pair tags to be attached to the resource.

Link:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cassandra-keyspace.html#cfn-cassandra-keyspace-tags