AWS::Timestream::Database - AWS CloudFormation

AWS::Timestream::Database

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

Syntax

To declare this entity in your AWS 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 AWS 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.