Options
All
  • Public
  • Public/Protected
  • All
Menu

Namespace PredefinedExpressionThresholdScalingConfiguration

The scaling configuration for the predefined metric expression rule.

Properties

Optional instanceCountAdjustment

instanceCountAdjustment: undefined | number

The value is used for adjusting the count of instances by. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.

Optional pendingDuration

pendingDuration: undefined | string

The period of time that the condition defined in the alarm must persist before the alarm state changes from "OK" to "FIRING" or vice versa. For example, a value of 5 minutes means that the alarm must persist in breaching the condition for five minutes before the alarm updates its state to "FIRING"; likewise, the alarm must persist in not breaching the condition for five minutes before the alarm updates its state to "OK."

The duration is specified as a string in ISO 8601 format ({@code PT10M} for ten minutes or {@code PT1H} for one hour). Minimum: PT3M. Maximum: PT1H. Default: PT3M.

Const scalingConfigurationType

scalingConfigurationType: string = "THRESHOLD"

threshold

threshold: number

A metric value at which the scaling operation will be triggered. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.

Methods

getDeserializedJsonObj

getJsonObj