Skip to main content

databases

Retrieves a list of databases in a region

Overview

Namedatabases
TypeResource
Descriptiondatabases
Idawscc.timestream.databases

Fields

NameDatatypeDescription
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.
regionstringAWS region.

Methods

Currently only SELECT is supported for this resource resource.

Example

SELECT
region,
database_name
FROM awscc.timestream.databases
WHERE region = 'us-east-1'

Permissions

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

Create

timestream:CreateDatabase,
timestream:DescribeEndpoints,
timestream:TagResource,
kms:CreateGrant,
kms:DescribeKey,
kms:Decrypt

List

timestream:ListDatabases,
timestream:DescribeEndpoints