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.

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

Class: Aws::OpsWorks::Types::GrantAccessRequest

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

Overview

Note:

When passing GrantAccessRequest as input to an Aws::Client method, you can use a vanilla Hash:

{
  instance_id: "String", # required
  valid_for_in_minutes: 1,
}

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.

#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 the user is logged in at the time, he or she automatically will be logged out.

Returns:

  • (Integer)

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