**To temporarily change the state of an alarm** The following example uses the ``set-alarm-state`` command to temporarily change the state of an Amazon CloudWatch alarm named "myalarm" and set it to the ALARM state for testing purposes:: aws cloudwatch set-alarm-state --alarm-name "myalarm" --state-value ALARM --state-reason "testing purposes" This command returns to the prompt if successful.
Name | Type | Size | Permission | Actions |
---|---|---|---|---|
delete-alarms.rst | File | 254 B | 0644 |
|
describe-alarm-history.rst | File | 1.85 KB | 0644 |
|
describe-alarms-for-metric.rst | File | 3.48 KB | 0644 |
|
describe-alarms.rst | File | 1.71 KB | 0644 |
|
disable-alarm-actions.rst | File | 270 B | 0644 |
|
enable-alarm-actions.rst | File | 270 B | 0644 |
|
get-metric-statistics.rst | File | 4.8 KB | 0644 |
|
list-metrics.rst | File | 2.63 KB | 0644 |
|
put-metric-alarm.rst | File | 1.38 KB | 0644 |
|
put-metric-data.rst | File | 1.1 KB | 0644 |
|
set-alarm-state.rst | File | 401 B | 0644 |
|