Class: Aws::RedshiftServerless::Types::GetCredentialsRequest

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-redshiftserverless/types.rb

Overview

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#db_nameString

The name of the database to get temporary authorization to log on to.

Constraints:

  • Must be 1 to 64 alphanumeric characters or hyphens.

  • Must contain only uppercase or lowercase letters, numbers, underscore, plus sign, period (dot), at symbol (@), or hyphen.

  • The first character must be a letter.

  • Must not contain a colon ( : ) or slash ( / ).

  • Cannot be a reserved word. A list of reserved words can be found in [Reserved Words ][1] in the Amazon Redshift Database Developer Guide

[1]: docs.aws.amazon.com/redshift/latest/dg/r_pg_keywords.html

Returns:

  • (String)


677
678
679
680
681
682
683
# File 'lib/aws-sdk-redshiftserverless/types.rb', line 677

class GetCredentialsRequest < Struct.new(
  :db_name,
  :duration_seconds,
  :workgroup_name)
  SENSITIVE = []
  include Aws::Structure
end

#duration_secondsInteger

The number of seconds until the returned temporary password expires. The minimum is 900 seconds, and the maximum is 3600 seconds.

Returns:

  • (Integer)


677
678
679
680
681
682
683
# File 'lib/aws-sdk-redshiftserverless/types.rb', line 677

class GetCredentialsRequest < Struct.new(
  :db_name,
  :duration_seconds,
  :workgroup_name)
  SENSITIVE = []
  include Aws::Structure
end

#workgroup_nameString

The name of the workgroup associated with the database.

Returns:

  • (String)


677
678
679
680
681
682
683
# File 'lib/aws-sdk-redshiftserverless/types.rb', line 677

class GetCredentialsRequest < Struct.new(
  :db_name,
  :duration_seconds,
  :workgroup_name)
  SENSITIVE = []
  include Aws::Structure
end