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

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

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

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

Returned by:

Instance Attribute Summary collapse

Instance Attribute Details

#instance_idString

The instance\'s AWS OpsWorks Stacks ID.

Returns:

  • (String)

    The instance\'s AWS OpsWorks Stacks ID.

#passwordString

The password.

Returns:

  • (String)

    The password.

#usernameString

The user name.

Returns:

  • (String)

    The user name.

#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)

    The length of time (in minutes) that the grant is valid.