databases
Retrieves a list of databases
in a region
Overview
Name | databases |
Type | Resource |
Description | databases |
Id | awscc.lightsail.databases |
Fields
Name | Datatype | Description |
---|---|---|
relational_database_name | string | The name to use for your new Lightsail database resource. |
region | string | AWS 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