Skip to main content

databases

Retrieves a list of databases in a region

Overview

Namedatabases
TypeResource
Descriptiondatabases
Idawscc.lightsail.databases

Fields

NameDatatypeDescription
relational_database_namestringThe name to use for your new Lightsail database resource.
regionstringAWS region.

Methods

Currently only SELECT is supported for this resource resource.

Example

SELECT
region,
relational_database_name
FROM awscc.lightsail.databases
WHERE region = 'us-east-1'

Permissions

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

Create

lightsail:CreateRelationalDatabase,
lightsail:GetRelationalDatabase,
lightsail:GetRelationalDatabases,
lightsail:GetRegions,
lightsail:TagResource,
lightsail:UntagResource,
lightsail:UpdateRelationalDatabase,
lightsail:UpdateRelationalDatabaseParameters

List

lightsail:GetRelationalDatabases