Class: Aws::ApplicationSignals::Types::Goal

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

Overview

This structure contains the attributes that determine the goal of an SLO. This includes the time period for evaluation and the attainment threshold.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#attainment_goalFloat

The threshold that determines if the goal is being met. An attainment goal is the ratio of good periods that meet the threshold requirements to the total periods within the interval. For example, an attainment goal of 99.9% means that within your interval, you are targeting 99.9% of the periods to be in healthy state.

If you omit this parameter, 99 is used to represent 99% as the attainment goal.

Returns:

  • (Float)


357
358
359
360
361
362
363
# File 'gems/aws-sdk-applicationsignals/lib/aws-sdk-applicationsignals/types.rb', line 357

class Goal < Struct.new(
  :interval,
  :attainment_goal,
  :warning_threshold)
  SENSITIVE = []
  include Aws::Structure
end

#intervalTypes::Interval

The time period used to evaluate the SLO. It can be either a calendar interval or rolling interval.

If you omit this parameter, a rolling interval of 7 days is used.

Returns:



357
358
359
360
361
362
363
# File 'gems/aws-sdk-applicationsignals/lib/aws-sdk-applicationsignals/types.rb', line 357

class Goal < Struct.new(
  :interval,
  :attainment_goal,
  :warning_threshold)
  SENSITIVE = []
  include Aws::Structure
end

#warning_thresholdFloat

The percentage of remaining budget over total budget that you want to get warnings for. If you omit this parameter, the default of 50.0 is used.

Returns:

  • (Float)


357
358
359
360
361
362
363
# File 'gems/aws-sdk-applicationsignals/lib/aws-sdk-applicationsignals/types.rb', line 357

class Goal < Struct.new(
  :interval,
  :attainment_goal,
  :warning_threshold)
  SENSITIVE = []
  include Aws::Structure
end