AWS::Timestream::DatabaseCreates a new Timestream database. If the AWS key is not specified, the database will be encrypted with a Timestream managed AWS key located in your account. Refer to [AWS managed AWS keys](https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#aws-managed-cmk) for more info. [Service quotas apply](https://docs.aws.amazon.com/timestream/latest/developerguide/ts-limits.html) . See [code sample](https://docs.aws.amazon.com/timestream/latest/developerguide/code-samples.create-db.html) for details.
import { CfnDatabase } from 'aws-cdk-lib/aws-timestream';Or use the module namespace:
import * as timestream from 'aws-cdk-lib/aws-timestream';
// timestream.CfnDatabaseConfiguration passed to the constructor as CfnDatabaseProps.
databaseNameOptionalstringThe name of the Timestream database. *Length Constraints* : Minimum length of 3 bytes. Maximum length of 256 bytes.
kmsKeyIdOptionalstring | IKeyRefThe identifier of the AWS key used to encrypt the data stored in the database.
tagsOptionalCfnTag[]The tags to add to the database.
This L1 construct maps directly to the following CloudFormation resource type.
Our bi-weekly newsletter teaches hands-on AWS fundamentals. No certification fluff - just practical knowledge.
Subscribe to Newsletteraws-timestreamAWS::Timestream::Database