AWS::Timestream::Database - Amazon CloudFormation
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).


Creates a new Timestream database. If the Amazon KMS key is not specified, the database will be encrypted with a Timestream managed Amazon KMS key located in your account. Refer to Amazon managed Amazon KMS keys for more info. Service quotas apply. See code sample for details.


To declare this entity in your Amazon CloudFormation template, use the following syntax:


{ "Type" : "AWS::Timestream::Database", "Properties" : { "DatabaseName" : String, "KmsKeyId" : String, "Tags" : [ Tag, ... ] } }


Type: AWS::Timestream::Database Properties: DatabaseName: String KmsKeyId: String Tags: - Tag



The name of the Timestream database.

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

Required: No

Type: String

Pattern: ^[a-zA-Z0-9_.-]{3,256}$

Update requires: Replacement


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

Required: No

Type: String

Minimum: 1

Maximum: 2048

Update requires: No interruption


The tags to add to the database.

Required: No

Type: Array of Tag

Maximum: 200

Update requires: No interruption

Return values


When you pass the logical ID of this resource to the intrinsic Ref function, Ref returns the database name DATABASE_NAME.

For more information about using the Ref function, see Ref.


The Fn::GetAtt returns a value for the specified attribute of this type. The following are the available attributes:


The arn of the database.