Skip to main content

relational_database_master_user_passwords

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

Overview

Namerelational_database_master_user_passwords
TypeResource
Idaws.lightsail.relational_database_master_user_passwords

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
created_atstring (date-time)The timestamp when the specified version of the master user password was created.
master_user_passwordstringThe master user password for the password version specified.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_relational_database_master_user_passwordselectregionReturns the current, previous, or pending versions of the master user password for a Lightsail database. The GetRelationalDatabaseMasterUserPassword operation supports tag-based access control via resource tags applied to the resource identified by relationalDatabaseName.

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 current, previous, or pending versions of the master user password for a Lightsail database. The GetRelationalDatabaseMasterUserPassword operation supports tag-based access control via resource tags applied to the resource identified by relationalDatabaseName.

SELECT
created_at,
master_user_password
FROM aws.lightsail.relational_database_master_user_passwords
WHERE region = '{{ region }}' -- required
;