Skip to main content

relational_database_bundles

Creates, updates, deletes, gets or lists a relational_database_bundles resource.

Overview

Namerelational_database_bundles
TypeResource
Idaws.lightsail.relational_database_bundles

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
namestringThe name for the database bundle.
bundle_idstringThe ID for the database bundle.
cpu_countintegerThe number of virtual CPUs (vCPUs) for the database bundle.
disk_size_in_gbintegerThe size of the disk for the database bundle.
is_activebooleanA Boolean value indicating whether the database bundle is active.
is_encryptedbooleanA Boolean value indicating whether the database bundle is encrypted.
pricenumber (float)The cost of the database bundle in US currency.
ram_size_in_gbnumber (float)The amount of RAM in GB (for example, 2.0) for the database bundle.
transfer_per_month_in_gbintegerThe data transfer rate per month in GB for the database bundle.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_relational_database_bundlesselectregionReturns 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.

NameDatatypeDescription
regionstringAWS region (default: us-east-1)

SELECT examples

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
;