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.

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,
}

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#instance_idString

The instance's AWS OpsWorks Stacks ID.

Returns:

  • (String)


3969
3970
3971
3972
3973
3974
# File 'gems/aws-sdk-opsworks/lib/aws-sdk-opsworks/types.rb', line 3969

class GrantAccessRequest < Struct.new(
  :instance_id,
  :valid_for_in_minutes)
  SENSITIVE = []
  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)


3969
3970
3971
3972
3973
3974
# File 'gems/aws-sdk-opsworks/lib/aws-sdk-opsworks/types.rb', line 3969

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