Class: Aws::OpsWorks::Types::TemporaryCredential

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

Overview

Contains the data needed by RDP clients such as the Microsoft Remote Desktop Connection to log in to the instance.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#instance_idString

The instance’s OpsWorks Stacks ID.

Returns:

  • (String)


5225
5226
5227
5228
5229
5230
5231
5232
# File 'lib/aws-sdk-opsworks/types.rb', line 5225

class TemporaryCredential < Struct.new(
  :username,
  :password,
  :valid_for_in_minutes,
  :instance_id)
  SENSITIVE = []
  include Aws::Structure
end

#passwordString

The password.

Returns:

  • (String)


5225
5226
5227
5228
5229
5230
5231
5232
# File 'lib/aws-sdk-opsworks/types.rb', line 5225

class TemporaryCredential < Struct.new(
  :username,
  :password,
  :valid_for_in_minutes,
  :instance_id)
  SENSITIVE = []
  include Aws::Structure
end

#usernameString

The user name.

Returns:

  • (String)


5225
5226
5227
5228
5229
5230
5231
5232
# File 'lib/aws-sdk-opsworks/types.rb', line 5225

class TemporaryCredential < Struct.new(
  :username,
  :password,
  :valid_for_in_minutes,
  :instance_id)
  SENSITIVE = []
  include Aws::Structure
end

#valid_for_in_minutesInteger

The length of time (in minutes) that the grant is valid. When the grant expires, at the end of this period, the user will no longer be able to use the credentials to log in. If they are logged in at the time, they are automatically logged out.

Returns:

  • (Integer)


5225
5226
5227
5228
5229
5230
5231
5232
# File 'lib/aws-sdk-opsworks/types.rb', line 5225

class TemporaryCredential < Struct.new(
  :username,
  :password,
  :valid_for_in_minutes,
  :instance_id)
  SENSITIVE = []
  include Aws::Structure
end