You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Class: Aws::Lightsail::Types::GetRelationalDatabaseMasterUserPasswordRequest

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing GetRelationalDatabaseMasterUserPasswordRequest as input to an Aws::Client method, you can use a vanilla Hash:

{
  relational_database_name: "ResourceName", # required
  password_version: "CURRENT", # accepts CURRENT, PREVIOUS, PENDING
}

Instance Attribute Summary collapse

Instance Attribute Details

#password_versionString

The password version to return.

Specifying CURRENT or PREVIOUS returns the current or previous passwords respectively. Specifying PENDING returns the newest version of the password that will rotate to CURRENT. After the PENDING password rotates to CURRENT, the PENDING password is no longer available.

Default: CURRENT

Possible values:

  • CURRENT
  • PREVIOUS
  • PENDING

Returns:

  • (String)

    The password version to return.

#relational_database_nameString

The name of your database for which to get the master user password.

Returns:

  • (String)

    The name of your database for which to get the master user password.