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

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-lightsail/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)


14064
14065
14066
14067
14068
14069
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 14064

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

#thresholdString

The value to compare with the duration.

Returns:

  • (String)


14064
14065
14066
14067
14068
14069
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 14064

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