CfnDatabaseProps

class aws_cdk.aws_timestream.CfnDatabaseProps(*, database_name=None, kms_key_id=None, tags=None)

Bases: object

Properties for defining a CfnDatabase.

Parameters:
  • database_name (Optional[str]) – The name of the Timestream database. Length Constraints : Minimum length of 3 bytes. Maximum length of 256 bytes.

  • kms_key_id (Optional[str]) – The identifier of the AWS KMS key used to encrypt the data stored in the database.

  • tags (Optional[Sequence[Union[CfnTag, Dict[str, Any]]]]) – The tags to add to the database.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-timestream-database.html

ExampleMetadata:

fixture=_generated

Example:

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

cfn_database_props = timestream.CfnDatabaseProps(
    database_name="databaseName",
    kms_key_id="kmsKeyId",
    tags=[CfnTag(
        key="key",
        value="value"
    )]
)

Attributes

database_name

The name of the Timestream database.

Length Constraints : Minimum length of 3 bytes. Maximum length of 256 bytes.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-timestream-database.html#cfn-timestream-database-databasename

kms_key_id

The identifier of the AWS KMS key used to encrypt the data stored in the database.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-timestream-database.html#cfn-timestream-database-kmskeyid

tags

The tags to add to the database.

See:

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