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

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-opsworks/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 AWS OpsWorks Stacks ID.

Returns:

  • (String)


5204
5205
5206
5207
5208
5209
5210
5211
# File 'gems/aws-sdk-opsworks/lib/aws-sdk-opsworks/types.rb', line 5204

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

#passwordString

The password.

Returns:

  • (String)


5204
5205
5206
5207
5208
5209
5210
5211
# File 'gems/aws-sdk-opsworks/lib/aws-sdk-opsworks/types.rb', line 5204

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

#usernameString

The user name.

Returns:

  • (String)


5204
5205
5206
5207
5208
5209
5210
5211
# File 'gems/aws-sdk-opsworks/lib/aws-sdk-opsworks/types.rb', line 5204

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 will be automatically logged out.

Returns:

  • (Integer)


5204
5205
5206
5207
5208
5209
5210
5211
# File 'gems/aws-sdk-opsworks/lib/aws-sdk-opsworks/types.rb', line 5204

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