relational_database_bundles
Creates, updates, deletes, gets or lists a relational_database_bundles resource.
Overview
| Name | relational_database_bundles |
| Type | Resource |
| Id | aws.lightsail.relational_database_bundles |
Fields
The following fields are returned by SELECT queries:
- get_relational_database_bundles
| Name | Datatype | Description |
|---|---|---|
name | string | The name for the database bundle. |
bundle_id | string | The ID for the database bundle. |
cpu_count | integer | The number of virtual CPUs (vCPUs) for the database bundle. |
disk_size_in_gb | integer | The size of the disk for the database bundle. |
is_active | boolean | A Boolean value indicating whether the database bundle is active. |
is_encrypted | boolean | A Boolean value indicating whether the database bundle is encrypted. |
price | number (float) | The cost of the database bundle in US currency. |
ram_size_in_gb | number (float) | The amount of RAM in GB (for example, 2.0) for the database bundle. |
transfer_per_month_in_gb | integer | The data transfer rate per month in GB for the database bundle. |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get_relational_database_bundles | select | region | Returns the list of bundles that are available in Amazon Lightsail. A bundle describes the performance specifications for a database. You can use a bundle ID to create a new database with explicit performance specifications. |
Parameters
Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.
| Name | Datatype | Description |
|---|---|---|
region | string | AWS region (default: us-east-1) |
SELECT examples
- get_relational_database_bundles
Returns the list of bundles that are available in Amazon Lightsail. A bundle describes the performance specifications for a database. You can use a bundle ID to create a new database with explicit performance specifications.
SELECT
name,
bundle_id,
cpu_count,
disk_size_in_gb,
is_active,
is_encrypted,
price,
ram_size_in_gb,
transfer_per_month_in_gb
FROM aws.lightsail.relational_database_bundles
WHERE region = '{{ region }}' -- required
;