relational_database_master_user_passwords
Creates, updates, deletes, gets or lists a relational_database_master_user_passwords resource.
Overview
| Name | relational_database_master_user_passwords |
| Type | Resource |
| Id | aws.lightsail.relational_database_master_user_passwords |
Fields
The following fields are returned by SELECT queries:
- get_relational_database_master_user_password
| Name | Datatype | Description |
|---|---|---|
created_at | string (date-time) | The timestamp when the specified version of the master user password was created. |
master_user_password | string | The master user password for the password version specified. |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get_relational_database_master_user_password | select | region | 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. |
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_master_user_password
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
;