Skip to main content

alarm_model_tags

Expands all tag keys and values for alarm_models in a region

Overview

Namealarm_model_tags
TypeResource
DescriptionRepresents an alarm model to monitor an ITE input attribute. You can use the alarm to get notified when the value is outside a specified range. For more information, see [Create an alarm model](https://docs.aws.amazon.com/iotevents/latest/developerguide/create-alarms.html) in the *Developer Guide*.
Idaws.iotevents.alarm_model_tags

Fields

NameDatatypeDescription
alarm_model_namestringThe name of the alarm model.
alarm_model_descriptionstringThe description of the alarm model.
role_arnstringThe ARN of the IAM role that allows the alarm to perform actions and access AWS resources. For more information, see [Amazon Resource Names (ARNs)](https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html) in the *General Reference*.
keystringAn input attribute used as a key to create an alarm. ITE routes [inputs](https://docs.aws.amazon.com/iotevents/latest/apireference/API_Input.html) associated with this key to the alarm.
severityintegerA non-negative integer that reflects the severity level of the alarm.
alarm_ruleobjectDefines when your alarm is invoked.
alarm_event_actionsobjectContains information about one or more alarm actions.
alarm_capabilitiesobjectContains the configuration information of alarm state changes.
tag_keystringTag key.
tag_valuestringTag value.
regionstringAWS region.

Methods

NameAccessible byRequired Params
list_resourcesSELECTregion

SELECT examples

Expands tags for all alarm_models in a region.

SELECT
region,
alarm_model_name,
alarm_model_description,
role_arn,
key,
severity,
alarm_rule,
alarm_event_actions,
alarm_capabilities,
tag_key,
tag_value
FROM aws.iotevents.alarm_model_tags
WHERE region = 'us-east-1';

Permissions

For permissions required to operate on the alarm_model_tags resource, see alarm_models