database
Gets an individual database
resource
Overview
Name | database |
Type | Resource |
Description | database |
Id | awscc.timestream.database |
Fields
Name | Datatype | Description |
---|---|---|
arn | string | |
database_name | string | The 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_id | string | The 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. |
tags | array | An array of key-value pairs to apply to this resource. |
region | string | AWS 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