aws.lightsail.get_relational_databases
Example SQL Queries
SELECT * FROMaws.lightsail.get_relational_databases;Description
Returns information about all of your databases in Amazon Lightsail.
Table Definition
| Column Name | Column Data Type |
|---|---|
| _aws_profile Input Column The AWS profile defines the AWS identity used. It can be defined via credentials or by assuming a IAM role. | STRUCT( |
Show child fields
| |
| _aws_region Input Column The AWS region to use. | VARCHAR |
| arn The Amazon Resource Name (ARN) of the database. | VARCHAR |
| backup_retention_enabled A Boolean value indicating whether automated backup retention is enabled for the database. | BOOLEAN |
| ca_certificate_identifier The certificate associated with the database. | VARCHAR |
| created_at The timestamp when the database was created. Formatted in Unix time. | TIMESTAMP_S |
| engine The database software (for example, MySQL). | VARCHAR |
| engine_version The database engine version (for example, 5.7.23). | VARCHAR |
| hardware Describes the hardware of the database. | STRUCT( |
Show child fields
| |
| latest_restorable_time The latest point in time to which the database can be restored. Formatted in Unix time. | TIMESTAMP_S |
| location The Region name and Availability Zone where the database is located. | STRUCT( |
Show child fields
| |
| master_database_name The name of the master database created when the Lightsail database resource is created. | VARCHAR |
| master_endpoint The master endpoint for the database. | STRUCT( |
Show child fields
| |
| master_username The master user name of the database. | VARCHAR |
| name The unique name of the database resource in Lightsail. | VARCHAR |
| parameter_apply_status The status of parameter updates for the database. | VARCHAR |
| pending_maintenance_actions Describes the pending maintenance actions for the database. | STRUCT( |
Show child fields
| |
| pending_modified_values Describes pending database value modifications. | STRUCT( |
Show child fields
| |
| preferred_backup_window The daily time range during which automated backups are created for the database (for example, 16:00-16:30). | VARCHAR |
| preferred_maintenance_window The weekly time range during which system maintenance can occur on the database. In the format ddd:hh24:mi-ddd:hh24:mi. For example, Tue:17:00-Tue:17:30. | VARCHAR |
| publicly_accessible A Boolean value indicating whether the database is publicly accessible. | BOOLEAN |
| relational_database_blueprint_id The blueprint ID for the database. A blueprint describes the major engine version of a database. | VARCHAR |
| relational_database_bundle_id The bundle ID for the database. A bundle describes the performance specifications for your database. | VARCHAR |
| resource_type The Lightsail resource type for the database (for example, RelationalDatabase). | VARCHAR |
| secondary_availability_zone Describes the secondary Availability Zone of a high availability database. The secondary database is used for failover support of a high availability database. | VARCHAR |
| state Describes the current state of the database. | VARCHAR |
| support_code The support code for the database. Include this code in your email to support when you have questions about a database in Lightsail. This code enables our support team to look up your Lightsail information more easily. | VARCHAR |
| tags The tag keys and optional values for the resource. For more information about tags in Lightsail, see the Amazon Lightsail Developer Guide. | STRUCT( |
Show child fields
| |