CmdID / aws / aws cloudwatch
aws cloudwatch describe-alarms
Retrieves the specified alarms. AWS CLI reference
9 options Its page in the AWS CLI reference
Options
--action-prefixUse this parameter to filter the results of the operation to only those alarms that use a certain alarm action.--alarm-name-prefixAn alarm name prefix.--alarm-namesThe names of the alarms to retrieve information about.--alarm-typesUse this parameter to specify whether you want the operation to return metric alarms, composite alarms, or log alarms.--children-of-alarm-nameIf you use this parameter and specify the name of a composite alarm, the operation returns information about the "children" alarms of the alarm you specify.--max-recordsThe maximum number of alarm descriptions to retrieve.--next-tokenThe token returned by a previous call to indicate that there is more data available.--parents-of-alarm-nameIf you use this parameter and specify the name of a metric or composite alarm, the operation returns information about the "parent" alarms of the alarm you specify.--state-valueSpecify this parameter to receive information only about alarms that are currently in the state that you specify.