Builder

class Builder

Properties

Link copied to clipboard

The number of log lines from the most recent scheduled query execution that are included in alarm action notifications. Valid range is 0 through 50. A value of 0 means no log lines are included.

Link copied to clipboard

The Amazon Resource Name (ARN) of the IAM role that CloudWatch assumes to retrieve log events for inclusion in alarm action notifications. Set when ActionLogLineCount is greater than 0.

Link copied to clipboard

Indicates whether actions should be executed during any changes to the alarm state.

Link copied to clipboard

The actions to execute when this alarm transitions to the ALARM state from any other state. Each action is specified as an Amazon Resource Name (ARN).

Link copied to clipboard

The Amazon Resource Name (ARN) of the alarm.

Link copied to clipboard

The time stamp of the last update to the alarm configuration.

Link copied to clipboard

The description of the alarm.

Link copied to clipboard

The name of the alarm.

Link copied to clipboard

The arithmetic operation to use when comparing the aggregated query result and the threshold. The aggregated query result is used as the first operand.

Link copied to clipboard

If the value of this field is EVALUATION_ERROR, it indicates configuration errors in the alarm setup that require review and correction. Refer to the StateReason field of the alarm for more details.

Link copied to clipboard

The actions to execute when this alarm transitions to the INSUFFICIENT_DATA state from any other state. Each action is specified as an Amazon Resource Name (ARN).

Link copied to clipboard

The actions to execute when this alarm transitions to the OK state from any other state. Each action is specified as an Amazon Resource Name (ARN).

Link copied to clipboard

The number of query results, out of the most recent QueryResultsToEvaluate results, that must breach the threshold to trigger the alarm to transition to ALARM (the M in M-of-N evaluation).

Link copied to clipboard

The number of most recent scheduled query results that the alarm evaluates against the threshold (the N in M-of-N evaluation).

Link copied to clipboard

The configuration of the underlying CloudWatch Logs scheduled query, including the query string, log groups, schedule, aggregation expression, and the ARN of the managed scheduled query.

Link copied to clipboard

An explanation for the alarm state, in text format.

Link copied to clipboard

An explanation for the alarm state, in JSON format.

Link copied to clipboard

The date and time that the alarm's StateValue most recently changed.

Link copied to clipboard

The time stamp of the last update to the value of either the StateValue or EvaluationState parameters.

Link copied to clipboard

The state value for the alarm.

Link copied to clipboard

The value to compare with the aggregated query result.

Link copied to clipboard

How this alarm handles missing data points. Valid values are breaching, notBreaching, ignore, and missing.