AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

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)


6113
6114
6115
6116
6117
6118
6119
6120
# File 'gems/aws-sdk-opsworks/lib/aws-sdk-opsworks/types.rb', line 6113

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

#passwordString

The password.

Returns:

  • (String)


6113
6114
6115
6116
6117
6118
6119
6120
# File 'gems/aws-sdk-opsworks/lib/aws-sdk-opsworks/types.rb', line 6113

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

#usernameString

The user name.

Returns:

  • (String)


6113
6114
6115
6116
6117
6118
6119
6120
# File 'gems/aws-sdk-opsworks/lib/aws-sdk-opsworks/types.rb', line 6113

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)


6113
6114
6115
6116
6117
6118
6119
6120
# File 'gems/aws-sdk-opsworks/lib/aws-sdk-opsworks/types.rb', line 6113

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