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
- Struct
- Aws::OpsWorks::Types::GrantAccessRequest
- 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_id ⇒ String
The instance\'s AWS OpsWorks Stacks ID.
-
#valid_for_in_minutes ⇒ Integer
The length of time (in minutes) that the grant is valid.
Instance Attribute Details
#instance_id ⇒ String
The instance\'s AWS OpsWorks Stacks ID.
#valid_for_in_minutes ⇒ Integer
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.