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

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

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-opsworks/lib/aws-sdk-opsworks/types.rb

Overview

Note:

When making an API call, you may pass GrantAccessRequest data as a 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)


3831
3832
3833
3834
3835
# File 'gems/aws-sdk-opsworks/lib/aws-sdk-opsworks/types.rb', line 3831

class GrantAccessRequest < Struct.new(
  :instance_id,
  :valid_for_in_minutes)
  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 the user is logged in at the time, he or she automatically will be logged out.

Returns:

  • (Integer)


3831
3832
3833
3834
3835
# File 'gems/aws-sdk-opsworks/lib/aws-sdk-opsworks/types.rb', line 3831

class GrantAccessRequest < Struct.new(
  :instance_id,
  :valid_for_in_minutes)
  include Aws::Structure
end