Class: Aws::CloudWatchLogs::Types::SuppressionPeriod

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

Overview

If you are suppressing an anomaly temporariliy, this structure defines how long the suppression period is to be.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#suppression_unit ⇒ String

Specifies whether the value of value is in seconds, minutes, or hours.

Returns:

  • (String)


10269
10270
10271
10272
10273
10274
# File 'gems/aws-sdk-cloudwatchlogs/lib/aws-sdk-cloudwatchlogs/types.rb', line 10269

class SuppressionPeriod < Struct.new(
  :value,
  :suppression_unit)
  SENSITIVE = []
  include Aws::Structure
end

#value ⇒ Integer

Specifies the number of seconds, minutes or hours to suppress this anomaly. There is no maximum.

Returns:

  • (Integer)


10269
10270
10271
10272
10273
10274
# File 'gems/aws-sdk-cloudwatchlogs/lib/aws-sdk-cloudwatchlogs/types.rb', line 10269

class SuppressionPeriod < Struct.new(
  :value,
  :suppression_unit)
  SENSITIVE = []
  include Aws::Structure
end