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:StringKmsKeyId:StringTags:- 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:
1Maximum:
2048Update 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 Reffunction, Refreturns the database name DATABASE_NAME.
For more information about using the Reffunction, see Ref.
Fn::GetAtt
The Fn::GetAtt returns a value for the specified attribute of this type. The
following are the available attributes: