# CfnDatabaseProps

Properties for defining a `CfnDatabase`.

Extends: CfnDatabaseProps
Used as props by: CfnDatabase

- Source: Generated code
- Type last changed: v2.227.0 · 21 Nov 2025

## Example

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_timestream as timestream } from 'aws-cdk-lib';
const cfnDatabaseProps: timestream.CfnDatabaseProps = {
  databaseName: 'databaseName',
  kmsKeyId: 'kmsKeyId',
  tags: [{
    key: 'key',
    value: 'value',
  }],
};
```

## Properties

- `databaseName`: string — The name of the Timestream database.

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

- `kmsKeyId`: string | [IKeyRef](/cdk/api/v2/docs/aws-cdk-lib.interfaces.aws_kms.IKeyRef.html) — The identifier of the AWS key used to encrypt the data stored in the database.

- `tags`: [CfnTag](/cdk/api/v2/docs/aws-cdk-lib.CfnTag.html)[] — The tags to add to the database.
