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

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

Overview

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#custom_domain_nameString

The custom domain name associated with the workgroup. The custom domain name or the workgroup name must be included in the request.

Returns:

  • (String)


1055
1056
1057
1058
1059
1060
1061
1062
# File 'gems/aws-sdk-redshiftserverless/lib/aws-sdk-redshiftserverless/types.rb', line 1055

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

#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 in the Amazon Redshift Database Developer Guide

Returns:

  • (String)


1055
1056
1057
1058
1059
1060
1061
1062
# File 'gems/aws-sdk-redshiftserverless/lib/aws-sdk-redshiftserverless/types.rb', line 1055

class GetCredentialsRequest < Struct.new(
  :custom_domain_name,
  :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)


1055
1056
1057
1058
1059
1060
1061
1062
# File 'gems/aws-sdk-redshiftserverless/lib/aws-sdk-redshiftserverless/types.rb', line 1055

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

#workgroup_nameString

The name of the workgroup associated with the database.

Returns:

  • (String)


1055
1056
1057
1058
1059
1060
1061
1062
# File 'gems/aws-sdk-redshiftserverless/lib/aws-sdk-redshiftserverless/types.rb', line 1055

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