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.

AWS::Timestream::Database

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.

Syntax

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

JSON

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

YAML

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

Properties

DatabaseName

The name of the Timestream database.

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

Required: No

Type: String

Update requires: Replacement

KmsKeyId

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

Tags

The tags to add to the database.

Required: No

Type: List of Tag

Update requires: No interruption

Return values

Ref

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.

Fn::GetAtt

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

Arn

The arn of the database.