You are viewing documentation for version 3 of the AWS SDK for Ruby. Version 2 documentation can be found here.

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.

Instance Attribute Summary collapse

Instance Attribute Details

#instance_idString

The instance's AWS OpsWorks Stacks ID.

Returns:

  • (String)


5958
5959
5960
5961
5962
5963
5964
# File 'gems/aws-sdk-opsworks/lib/aws-sdk-opsworks/types.rb', line 5958

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

#passwordString

The password.

Returns:

  • (String)


5958
5959
5960
5961
5962
5963
5964
# File 'gems/aws-sdk-opsworks/lib/aws-sdk-opsworks/types.rb', line 5958

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

#usernameString

The user name.

Returns:

  • (String)


5958
5959
5960
5961
5962
5963
5964
# File 'gems/aws-sdk-opsworks/lib/aws-sdk-opsworks/types.rb', line 5958

class TemporaryCredential < Struct.new(
  :username,
  :password,
  :valid_for_in_minutes,
  :instance_id)
  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)


5958
5959
5960
5961
5962
5963
5964
# File 'gems/aws-sdk-opsworks/lib/aws-sdk-opsworks/types.rb', line 5958

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