CmdID

CmdID / aws / aws lightsail

aws lightsail put-alarm

Creates or updates an alarm, and associates it with the specified metric. AWS CLI reference

12 options Its page in the AWS CLI reference

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

Options

12 in the AWS CLI reference
--alarm-nameThe name for the alarm.
--comparison-operatorThe arithmetic operation to use when comparing the specified statistic to the threshold.
--contact-protocolsThe contact protocols to use for the alarm, such as Email, SMS (text messaging), or both.
--datapoints-to-alarmThe number of data points that must be not within the specified threshold to trigger the alarm.
--evaluation-periodsThe number of most recent periods over which data is compared to the specified threshold.
--metric-nameThe name of the metric to associate with the alarm.
--monitored-resource-nameThe name of the Lightsail resource that will be monitored.
--notification-enabledIndicates whether the alarm is enabled.
--notification-triggersThe alarm states that trigger a notification.
--tagsThe tag keys and optional values to add to the alarm during create.
--thresholdThe value against which the specified statistic is compared.
--treat-missing-dataSets how this alarm will handle missing data points.