Skip to main content

alarms_list_only

Lists alarms in a region or regions, for all properties use alarms

Overview

Namealarms_list_only
TypeResource
DescriptionThe AWS::CloudWatch::Alarm type specifies an alarm and associates it with the specified metric or metric math expression.
When this operation creates an alarm, the alarm state is immediately set to INSUFFICIENT_DATA. The alarm is then evaluated and its state is set appropriately. Any actions associated with the new state are then executed.
When you update an existing alarm, its state is left unchanged, but the update completely overwrites the previous configuration of the alarm.
Idaws.cloudwatch.alarms_list_only

Fields

NameDatatypeDescription
alarm_namestringThe name of the alarm. If you don't specify a name, CFN generates a unique physical ID and uses that ID for the alarm name.
If you specify a name, you cannot perform updates that require replacement of this resource. You can perform updates that require no or some interruption. If you must replace the resource, specify a new name.
regionstringAWS region.

Methods

NameAccessible byRequired Params
list_resourcesSELECTregion

SELECT examples

Lists all alarms in a region.

SELECT
region,
alarm_name
FROM aws.cloudwatch.alarms_list_only
WHERE region = 'us-east-1';

Permissions

For permissions required to operate on the alarms_list_only resource, see alarms