Skip to main content

database

Gets an individual database resource

Overview

Namedatabase
TypeResource
Descriptiondatabase
Idawscc.timestream.database

Fields

NameDatatypeDescription
arnstring
database_namestringThe name for the database. If you don't specify a name, AWS CloudFormation generates a unique physical ID and uses that ID for the database name.
kms_key_idstringThe KMS key for the database. If the KMS key is not specified, the database will be encrypted with a Timestream managed KMS key located in your account.
tagsarrayAn array of key-value pairs to apply to this resource.
regionstringAWS region.

Methods

Currently only SELECT is supported for this resource resource.

Example

SELECT
region,
arn,
database_name,
kms_key_id,
tags
FROM awscc.timestream.database
WHERE data__Identifier = '<DatabaseName>';

Permissions

To operate on the database resource, the following permissions are required:

Read

timestream:DescribeDatabase,
timestream:DescribeEndpoints,
timestream:ListTagsForResource

Update

timestream:UpdateDatabase,
timestream:DescribeDatabase,
timestream:DescribeEndpoints,
timestream:TagResource,
timestream:UntagResource

Delete

timestream:DeleteDatabase,
timestream:DescribeEndpoints