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 in 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)


418
419
420
421
422
423
# File 'gems/aws-sdk-redshift/lib/aws-sdk-redshift/types.rb', line 418

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 DbGroups parameter is specifed, DbUser is added to the listed groups for the current session. The user name is prefixed with IAM: for an existing user name or IAMA: if the user was auto-created.

Returns:

  • (String)


418
419
420
421
422
423
# File 'gems/aws-sdk-redshift/lib/aws-sdk-redshift/types.rb', line 418

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

#expirationTime

The date and time DbPassword expires.

Returns:

  • (Time)


418
419
420
421
422
423
# File 'gems/aws-sdk-redshift/lib/aws-sdk-redshift/types.rb', line 418

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