Class: Aws::Lightsail::Types::StopInstanceOnIdleRequest

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-lightsail/types.rb

Overview

Describes a request to create or edit the ‘StopInstanceOnIdle` add-on.

This add-on only applies to Lightsail for Research resources.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#durationString

The amount of idle time in minutes after which your virtual computer will automatically stop.

Returns:

  • (String)


14097
14098
14099
14100
14101
14102
# File 'lib/aws-sdk-lightsail/types.rb', line 14097

class StopInstanceOnIdleRequest < Struct.new(
  :threshold,
  :duration)
  SENSITIVE = []
  include Aws::Structure
end

#thresholdString

The value to compare with the duration.

Returns:

  • (String)


14097
14098
14099
14100
14101
14102
# File 'lib/aws-sdk-lightsail/types.rb', line 14097

class StopInstanceOnIdleRequest < Struct.new(
  :threshold,
  :duration)
  SENSITIVE = []
  include Aws::Structure
end