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

Class: Aws::Redshift::Types::ClusterCredentials

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-redshift/lib/aws-sdk-redshift/types.rb

Overview

Temporary credentials with authorization to log on to an Amazon Redshift database.

Instance Attribute Summary collapse

Instance Attribute Details

#db_passwordString

A temporary password that authorizes the user name returned by DbUser to log on to the database DbName.

Returns:

  • (String)


725
726
727
728
729
730
# File 'gems/aws-sdk-redshift/lib/aws-sdk-redshift/types.rb', line 725

class ClusterCredentials < Struct.new(
  :db_user,
  :db_password,
  :expiration)
  include Aws::Structure
end

#db_userString

A database user name that is authorized to log on to the database DbName using the password DbPassword. If the specified DbUser exists in the database, the new user name has the same database privileges as the the user named in DbUser. By default, the user is added to PUBLIC. If the DbGroups parameter is specifed, DbUser is added to the listed groups for any sessions created using these credentials.

Returns:

  • (String)


725
726
727
728
729
730
# File 'gems/aws-sdk-redshift/lib/aws-sdk-redshift/types.rb', line 725

class ClusterCredentials < Struct.new(
  :db_user,
  :db_password,
  :expiration)
  include Aws::Structure
end

#expirationTime

The date and time the password in DbPassword expires.

Returns:

  • (Time)


725
726
727
728
729
730
# File 'gems/aws-sdk-redshift/lib/aws-sdk-redshift/types.rb', line 725

class ClusterCredentials < Struct.new(
  :db_user,
  :db_password,
  :expiration)
  include Aws::Structure
end