CmdID

CmdID / aws / aws cloudwatch

aws cloudwatch put-log-alarm

Creates or updates a log alarm. AWS CLI reference

17 options Its page in the AWS CLI reference

Opens CmdID with your command. It is read in your browser and sent nowhere.

Options

17 in the AWS CLI reference
--action-configurationSettings that change the content of the notifications and events that the alarm sends when its state changes.
--action-log-line-countThe number of log lines from the most recent scheduled query execution to include in alarm action notifications.
--action-log-line-role-arnThe Amazon Resource Name (ARN) of an IAM role that CloudWatch assumes to retrieve log events for inclusion in alarm action notifications.
--actions-enabledIndicates whether actions should be executed during any changes to the alarm state.
--alarm-actionsThe actions to execute when this alarm transitions to the ALARM state from any other state.
--alarm-descriptionThe description for the alarm.
--alarm-nameThe name for the alarm.
--comparison-operatorThe arithmetic operation to use when comparing the aggregated query result and the threshold.
--insufficient-data-actionsThe actions to execute when this alarm transitions to the INSUFFICIENT_DATA state from any other state.
--ok-actionsThe actions to execute when this alarm transitions to the OK state from any other state.
--query-results-to-alarmThe 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).
--query-results-to-evaluateThe number of most recent scheduled query results to evaluate against the threshold (the N in M-of-N evaluation).
--scheduled-query-configurationThe configuration of the underlying CloudWatch Logs scheduled query that this alarm evaluates, including the query string, log groups, schedule, and aggregation expression.
--tagsA list of key-value pairs to associate with the alarm.
--thresholdThe value to compare with the aggregated query result.
--treat-missing-dataSets how this alarm is to handle missing data points.
--warm-up-configurationThe warm-up configuration for the alarm.