latest--aws-iotevents-alarmmodel
sharedThe AWS::IoTEvents::AlarmModel resource creates a alarm model. AWS IoT Events alarms help you monitor your data for changes. The data can be metrics that you measure for your equipment and processes. You can create alarms that send notifications when a threshold is breached. Alarms help you detect issues, streamline maintenance, and optimize performance of your equipment and processes.
Alarms are instances of alarm models. The alarm model specifies what to detect, when to send notifications, who gets notified, and more. You can also specify one or more supported actions that occur when the alarm state changes. AWS IoT Events routes input attributes derived from your data to the appropriate alarms. If the data that you're monitoring is outside the specified range, the alarm is invoked. You can also acknowledge the alarms or set them to the snooze mode.. Source:- https://github.com/aws-cloudformation/aws-cloudformation-rpdk.git
Properties
The ARN of the role that grants permission to AWS IoT Events to perform its operations.
Defines when your alarm is invoked.
1 nested properties
A rule that compares an input property value to a threshold value with a comparison operator.
3 nested properties
The value on the left side of the comparison operator. You can specify an AWS IoT Events input attribute as an input property.
The comparison operator.
The value on the right side of the comparison operator. You can enter a number or specify an AWS IoT Events input attribute.
The name of the alarm model.
A brief description of the alarm model.
The value used to identify a alarm instance. When a device or system sends input, a new alarm instance with a unique key value is created. AWS IoT Events can continue to route input to its corresponding alarm instance based on this identifying information.
This parameter uses a JSON-path expression to select the attribute-value pair in the message payload that is used for identification. To route the message to the correct alarm instance, the device must send a message payload that contains the same attribute-value.
A non-negative integer that reflects the severity level of the alarm.
Contains information about one or more alarm actions.
1 nested properties
Specifies one or more supported actions to receive notifications when the alarm state changes.
Contains the configuration information of alarm state changes
2 nested properties
Specifies the default alarm state. The configuration applies to all alarms that were created based on this alarm model.
1 nested properties
The value must be TRUE or FALSE. If FALSE, all alarm instances created based on the alarm model are activated. The default value is TRUE.
Specifies whether to get notified for alarm state changes.
1 nested properties
The value must be TRUE or FALSE. If TRUE, you receive a notification when the alarm state changes. You must choose to acknowledge the notification before the alarm state can return to NORMAL. If FALSE, you won't receive notifications. The alarm automatically changes to the NORMAL state when the input property value returns to the specified range.
Definitions
Defines when your alarm is invoked.
A rule that compares an input property value to a threshold value with a comparison operator.
3 nested properties
The value on the left side of the comparison operator. You can specify an AWS IoT Events input attribute as an input property.
The comparison operator.
The value on the right side of the comparison operator. You can enter a number or specify an AWS IoT Events input attribute.
A rule that compares an input property value to a threshold value with a comparison operator.
The value on the left side of the comparison operator. You can specify an AWS IoT Events input attribute as an input property.
The comparison operator.
The value on the right side of the comparison operator. You can enter a number or specify an AWS IoT Events input attribute.
Contains information about one or more alarm actions.
Specifies one or more supported actions to receive notifications when the alarm state changes.
Contains the configuration information of alarm state changes
Specifies the default alarm state. The configuration applies to all alarms that were created based on this alarm model.
1 nested properties
The value must be TRUE or FALSE. If FALSE, all alarm instances created based on the alarm model are activated. The default value is TRUE.
Specifies whether to get notified for alarm state changes.
1 nested properties
The value must be TRUE or FALSE. If TRUE, you receive a notification when the alarm state changes. You must choose to acknowledge the notification before the alarm state can return to NORMAL. If FALSE, you won't receive notifications. The alarm automatically changes to the NORMAL state when the input property value returns to the specified range.
Specifies one or more supported actions to receive notifications when the alarm state changes.
The actions to be performed.
Writes to the DynamoDB table that you created. The default action payload contains all attribute-value pairs that have the information about the alarm model instance and the event that triggered the action. You can also customize the payload. One column of the DynamoDB table receives all attribute-value pairs in the payload that you specify. For more information, see Actions in AWS IoT Events Developer Guide.
10 nested properties
The name of the hash key (also called the partition key).
The value of the hash key (also called the partition key).
The name of the DynamoDB table.
The data type for the hash key (also called the partition key). You can specify the following values:
-
STRING- The hash key is a string. -
NUMBER- The hash key is a number.
If you don't specify hashKeyType, the default value is STRING.
The type of operation to perform. You can specify the following values:
-
INSERT- Insert data as a new item into the DynamoDB table. This item uses the specified hash key as a partition key. If you specified a range key, the item uses the range key as a sort key. -
UPDATE- Update an existing item of the DynamoDB table with new data. This item's partition key must match the specified hash key. If you specified a range key, the range key must match the item's sort key. -
DELETE- Delete an existing item of the DynamoDB table. This item's partition key must match the specified hash key. If you specified a range key, the range key must match the item's sort key.
If you don't specify this parameter, AWS IoT Events triggers the INSERT operation.
Information needed to configure the payload.
By default, AWS IoT Events generates a standard payload in JSON for any action. This action payload contains all attribute-value pairs that have the information about the alarm model instance and the event triggered the action. To configure the action payload, you can use contentExpression.
2 nested properties
The content of the payload. You can use a string expression that includes quoted strings ('<string>'), variables ($variable.<variable-name>), input values ($input.<input-name>.<path-to-datum>), string concatenations, and quoted strings that contain ${} as the content. The recommended maximum size of a content expression is 1 KB.
The value of the payload type can be either STRING or JSON.
The name of the DynamoDB column that receives the action payload.
If you don't specify this parameter, the name of the DynamoDB column is payload.
The name of the range key (also called the sort key).
The data type for the range key (also called the sort key), You can specify the following values:
-
STRING- The range key is a string. -
NUMBER- The range key is number.
If you don't specify rangeKeyField, the default value is STRING.
The value of the range key (also called the sort key).
Defines an action to write to the Amazon DynamoDB table that you created. The default action payload contains all attribute-value pairs that have the information about the alarm model instance and the event that triggered the action. You can also customize the payload. A separate column of the DynamoDB table receives one attribute-value pair in the payload that you specify.
You can use expressions for parameters that are strings. For more information, see Expressions in the AWS IoT Events Developer Guide.
2 nested properties
The name of the DynamoDB table.
Information needed to configure the payload.
By default, AWS IoT Events generates a standard payload in JSON for any action. This action payload contains all attribute-value pairs that have the information about the alarm model instance and the event triggered the action. To configure the action payload, you can use contentExpression.
2 nested properties
The content of the payload. You can use a string expression that includes quoted strings ('<string>'), variables ($variable.<variable-name>), input values ($input.<input-name>.<path-to-datum>), string concatenations, and quoted strings that contain ${} as the content. The recommended maximum size of a content expression is 1 KB.
The value of the payload type can be either STRING or JSON.
Sends information about the alarm model instance and the event that triggered the action to an Amazon Kinesis Data Firehose delivery stream.
3 nested properties
The name of the Kinesis Data Firehose delivery stream where the data is written.
Information needed to configure the payload.
By default, AWS IoT Events generates a standard payload in JSON for any action. This action payload contains all attribute-value pairs that have the information about the alarm model instance and the event triggered the action. To configure the action payload, you can use contentExpression.
2 nested properties
The content of the payload. You can use a string expression that includes quoted strings ('<string>'), variables ($variable.<variable-name>), input values ($input.<input-name>.<path-to-datum>), string concatenations, and quoted strings that contain ${} as the content. The recommended maximum size of a content expression is 1 KB.
The value of the payload type can be either STRING or JSON.
A character separator that is used to separate records written to the Kinesis Data Firehose delivery stream. Valid values are: '\n' (newline), '\t' (tab), '\r\n' (Windows newline), ',' (comma).
Sends an AWS IoT Events input, passing in information about the alarm model instance and the event that triggered the action.
2 nested properties
The name of the AWS IoT Events input where the data is sent.
Information needed to configure the payload.
By default, AWS IoT Events generates a standard payload in JSON for any action. This action payload contains all attribute-value pairs that have the information about the alarm model instance and the event triggered the action. To configure the action payload, you can use contentExpression.
2 nested properties
The content of the payload. You can use a string expression that includes quoted strings ('<string>'), variables ($variable.<variable-name>), input values ($input.<input-name>.<path-to-datum>), string concatenations, and quoted strings that contain ${} as the content. The recommended maximum size of a content expression is 1 KB.
The value of the payload type can be either STRING or JSON.
Sends information about the alarm model instance and the event that triggered the action to a specified asset property in AWS IoT SiteWise.
5 nested properties
The ID of the asset that has the specified property. You can specify an expression.
A unique identifier for this entry. You can use the entry ID to track which data entry causes an error in case of failure. The default is a new unique identifier. You can also specify an expression.
The alias of the asset property. You can also specify an expression.
The ID of the asset property. You can specify an expression.
A structure that contains value information. For more information, see AssetPropertyValue in the AWS IoT SiteWise API Reference.
3 nested properties
A structure that contains an asset property value. For more information, see Variant in the AWS IoT SiteWise API Reference.
The quality of the asset property value. The value must be GOOD, BAD, or UNCERTAIN. You can also specify an expression.
A structure that contains timestamp information. For more information, see TimeInNanos in the AWS IoT SiteWise API Reference.
Information required to publish the MQTT message through the AWS IoT message broker.
2 nested properties
The MQTT topic of the message. You can use a string expression that includes variables ($variable.<variable-name>) and input values ($input.<input-name>.<path-to-datum>) as the topic string.
Information needed to configure the payload.
By default, AWS IoT Events generates a standard payload in JSON for any action. This action payload contains all attribute-value pairs that have the information about the alarm model instance and the event triggered the action. To configure the action payload, you can use contentExpression.
2 nested properties
The content of the payload. You can use a string expression that includes quoted strings ('<string>'), variables ($variable.<variable-name>), input values ($input.<input-name>.<path-to-datum>), string concatenations, and quoted strings that contain ${} as the content. The recommended maximum size of a content expression is 1 KB.
The value of the payload type can be either STRING or JSON.
2 nested properties
The ARN of the Lambda function that is executed.
Information needed to configure the payload.
By default, AWS IoT Events generates a standard payload in JSON for any action. This action payload contains all attribute-value pairs that have the information about the alarm model instance and the event triggered the action. To configure the action payload, you can use contentExpression.
2 nested properties
The content of the payload. You can use a string expression that includes quoted strings ('<string>'), variables ($variable.<variable-name>), input values ($input.<input-name>.<path-to-datum>), string concatenations, and quoted strings that contain ${} as the content. The recommended maximum size of a content expression is 1 KB.
The value of the payload type can be either STRING or JSON.
Information required to publish the Amazon SNS message.
2 nested properties
The ARN of the Amazon SNS target where the message is sent.
Information needed to configure the payload.
By default, AWS IoT Events generates a standard payload in JSON for any action. This action payload contains all attribute-value pairs that have the information about the alarm model instance and the event triggered the action. To configure the action payload, you can use contentExpression.
2 nested properties
The content of the payload. You can use a string expression that includes quoted strings ('<string>'), variables ($variable.<variable-name>), input values ($input.<input-name>.<path-to-datum>), string concatenations, and quoted strings that contain ${} as the content. The recommended maximum size of a content expression is 1 KB.
The value of the payload type can be either STRING or JSON.
3 nested properties
The URL of the SQS queue where the data is written.
Information needed to configure the payload.
By default, AWS IoT Events generates a standard payload in JSON for any action. This action payload contains all attribute-value pairs that have the information about the alarm model instance and the event triggered the action. To configure the action payload, you can use contentExpression.
2 nested properties
The content of the payload. You can use a string expression that includes quoted strings ('<string>'), variables ($variable.<variable-name>), input values ($input.<input-name>.<path-to-datum>), string concatenations, and quoted strings that contain ${} as the content. The recommended maximum size of a content expression is 1 KB.
The value of the payload type can be either STRING or JSON.
Set this to TRUE if you want the data to be base-64 encoded before it is written to the queue. Otherwise, set this to FALSE.
Writes to the DynamoDB table that you created. The default action payload contains all attribute-value pairs that have the information about the alarm model instance and the event that triggered the action. You can also customize the payload. One column of the DynamoDB table receives all attribute-value pairs in the payload that you specify. For more information, see Actions in AWS IoT Events Developer Guide.
The name of the hash key (also called the partition key).
The value of the hash key (also called the partition key).
The name of the DynamoDB table.
The data type for the hash key (also called the partition key). You can specify the following values:
-
STRING- The hash key is a string. -
NUMBER- The hash key is a number.
If you don't specify hashKeyType, the default value is STRING.
The type of operation to perform. You can specify the following values:
-
INSERT- Insert data as a new item into the DynamoDB table. This item uses the specified hash key as a partition key. If you specified a range key, the item uses the range key as a sort key. -
UPDATE- Update an existing item of the DynamoDB table with new data. This item's partition key must match the specified hash key. If you specified a range key, the range key must match the item's sort key. -
DELETE- Delete an existing item of the DynamoDB table. This item's partition key must match the specified hash key. If you specified a range key, the range key must match the item's sort key.
If you don't specify this parameter, AWS IoT Events triggers the INSERT operation.
Information needed to configure the payload.
By default, AWS IoT Events generates a standard payload in JSON for any action. This action payload contains all attribute-value pairs that have the information about the alarm model instance and the event triggered the action. To configure the action payload, you can use contentExpression.
2 nested properties
The content of the payload. You can use a string expression that includes quoted strings ('<string>'), variables ($variable.<variable-name>), input values ($input.<input-name>.<path-to-datum>), string concatenations, and quoted strings that contain ${} as the content. The recommended maximum size of a content expression is 1 KB.
The value of the payload type can be either STRING or JSON.
The name of the DynamoDB column that receives the action payload.
If you don't specify this parameter, the name of the DynamoDB column is payload.
The name of the range key (also called the sort key).
The data type for the range key (also called the sort key), You can specify the following values:
-
STRING- The range key is a string. -
NUMBER- The range key is number.
If you don't specify rangeKeyField, the default value is STRING.
The value of the range key (also called the sort key).
Defines an action to write to the Amazon DynamoDB table that you created. The default action payload contains all attribute-value pairs that have the information about the alarm model instance and the event that triggered the action. You can also customize the payload. A separate column of the DynamoDB table receives one attribute-value pair in the payload that you specify.
You can use expressions for parameters that are strings. For more information, see Expressions in the AWS IoT Events Developer Guide.
The name of the DynamoDB table.
Information needed to configure the payload.
By default, AWS IoT Events generates a standard payload in JSON for any action. This action payload contains all attribute-value pairs that have the information about the alarm model instance and the event triggered the action. To configure the action payload, you can use contentExpression.
2 nested properties
The content of the payload. You can use a string expression that includes quoted strings ('<string>'), variables ($variable.<variable-name>), input values ($input.<input-name>.<path-to-datum>), string concatenations, and quoted strings that contain ${} as the content. The recommended maximum size of a content expression is 1 KB.
The value of the payload type can be either STRING or JSON.
Sends information about the alarm model instance and the event that triggered the action to an Amazon Kinesis Data Firehose delivery stream.
The name of the Kinesis Data Firehose delivery stream where the data is written.
Information needed to configure the payload.
By default, AWS IoT Events generates a standard payload in JSON for any action. This action payload contains all attribute-value pairs that have the information about the alarm model instance and the event triggered the action. To configure the action payload, you can use contentExpression.
2 nested properties
The content of the payload. You can use a string expression that includes quoted strings ('<string>'), variables ($variable.<variable-name>), input values ($input.<input-name>.<path-to-datum>), string concatenations, and quoted strings that contain ${} as the content. The recommended maximum size of a content expression is 1 KB.
The value of the payload type can be either STRING or JSON.
A character separator that is used to separate records written to the Kinesis Data Firehose delivery stream. Valid values are: '\n' (newline), '\t' (tab), '\r\n' (Windows newline), ',' (comma).
Sends an AWS IoT Events input, passing in information about the alarm model instance and the event that triggered the action.
The name of the AWS IoT Events input where the data is sent.
Information needed to configure the payload.
By default, AWS IoT Events generates a standard payload in JSON for any action. This action payload contains all attribute-value pairs that have the information about the alarm model instance and the event triggered the action. To configure the action payload, you can use contentExpression.
2 nested properties
The content of the payload. You can use a string expression that includes quoted strings ('<string>'), variables ($variable.<variable-name>), input values ($input.<input-name>.<path-to-datum>), string concatenations, and quoted strings that contain ${} as the content. The recommended maximum size of a content expression is 1 KB.
The value of the payload type can be either STRING or JSON.
Sends information about the alarm model instance and the event that triggered the action to a specified asset property in AWS IoT SiteWise.
The ID of the asset that has the specified property. You can specify an expression.
A unique identifier for this entry. You can use the entry ID to track which data entry causes an error in case of failure. The default is a new unique identifier. You can also specify an expression.
The alias of the asset property. You can also specify an expression.
The ID of the asset property. You can specify an expression.
A structure that contains value information. For more information, see AssetPropertyValue in the AWS IoT SiteWise API Reference.
3 nested properties
A structure that contains an asset property value. For more information, see Variant in the AWS IoT SiteWise API Reference.
4 nested properties
The asset property value is a Boolean value that must be TRUE or FALSE. You can also specify an expression. If you use an expression, the evaluated result should be a Boolean value.
The asset property value is a double. You can also specify an expression. If you use an expression, the evaluated result should be a double.
The asset property value is an integer. You can also specify an expression. If you use an expression, the evaluated result should be an integer.
The asset property value is a string. You can also specify an expression. If you use an expression, the evaluated result should be a string.
The quality of the asset property value. The value must be GOOD, BAD, or UNCERTAIN. You can also specify an expression.
A structure that contains timestamp information. For more information, see TimeInNanos in the AWS IoT SiteWise API Reference.
2 nested properties
The nanosecond offset converted from timeInSeconds. The valid range is between 0-999999999. You can also specify an expression.
The timestamp, in seconds, in the Unix epoch format. The valid range is between 1-31556889864403199. You can also specify an expression.
Information required to publish the MQTT message through the AWS IoT message broker.
The MQTT topic of the message. You can use a string expression that includes variables ($variable.<variable-name>) and input values ($input.<input-name>.<path-to-datum>) as the topic string.
Information needed to configure the payload.
By default, AWS IoT Events generates a standard payload in JSON for any action. This action payload contains all attribute-value pairs that have the information about the alarm model instance and the event triggered the action. To configure the action payload, you can use contentExpression.
2 nested properties
The content of the payload. You can use a string expression that includes quoted strings ('<string>'), variables ($variable.<variable-name>), input values ($input.<input-name>.<path-to-datum>), string concatenations, and quoted strings that contain ${} as the content. The recommended maximum size of a content expression is 1 KB.
The value of the payload type can be either STRING or JSON.
The ARN of the Lambda function that is executed.
Information needed to configure the payload.
By default, AWS IoT Events generates a standard payload in JSON for any action. This action payload contains all attribute-value pairs that have the information about the alarm model instance and the event triggered the action. To configure the action payload, you can use contentExpression.
2 nested properties
The content of the payload. You can use a string expression that includes quoted strings ('<string>'), variables ($variable.<variable-name>), input values ($input.<input-name>.<path-to-datum>), string concatenations, and quoted strings that contain ${} as the content. The recommended maximum size of a content expression is 1 KB.
The value of the payload type can be either STRING or JSON.
Information required to publish the Amazon SNS message.
The ARN of the Amazon SNS target where the message is sent.
Information needed to configure the payload.
By default, AWS IoT Events generates a standard payload in JSON for any action. This action payload contains all attribute-value pairs that have the information about the alarm model instance and the event triggered the action. To configure the action payload, you can use contentExpression.
2 nested properties
The content of the payload. You can use a string expression that includes quoted strings ('<string>'), variables ($variable.<variable-name>), input values ($input.<input-name>.<path-to-datum>), string concatenations, and quoted strings that contain ${} as the content. The recommended maximum size of a content expression is 1 KB.
The value of the payload type can be either STRING or JSON.
The URL of the SQS queue where the data is written.
Information needed to configure the payload.
By default, AWS IoT Events generates a standard payload in JSON for any action. This action payload contains all attribute-value pairs that have the information about the alarm model instance and the event triggered the action. To configure the action payload, you can use contentExpression.
2 nested properties
The content of the payload. You can use a string expression that includes quoted strings ('<string>'), variables ($variable.<variable-name>), input values ($input.<input-name>.<path-to-datum>), string concatenations, and quoted strings that contain ${} as the content. The recommended maximum size of a content expression is 1 KB.
The value of the payload type can be either STRING or JSON.
Set this to TRUE if you want the data to be base-64 encoded before it is written to the queue. Otherwise, set this to FALSE.
Information needed to configure the payload.
By default, AWS IoT Events generates a standard payload in JSON for any action. This action payload contains all attribute-value pairs that have the information about the alarm model instance and the event triggered the action. To configure the action payload, you can use contentExpression.
The content of the payload. You can use a string expression that includes quoted strings ('<string>'), variables ($variable.<variable-name>), input values ($input.<input-name>.<path-to-datum>), string concatenations, and quoted strings that contain ${} as the content. The recommended maximum size of a content expression is 1 KB.
The value of the payload type can be either STRING or JSON.
Specifies the default alarm state. The configuration applies to all alarms that were created based on this alarm model.
The value must be TRUE or FALSE. If FALSE, all alarm instances created based on the alarm model are activated. The default value is TRUE.
Specifies whether to get notified for alarm state changes.
The value must be TRUE or FALSE. If TRUE, you receive a notification when the alarm state changes. You must choose to acknowledge the notification before the alarm state can return to NORMAL. If FALSE, you won't receive notifications. The alarm automatically changes to the NORMAL state when the input property value returns to the specified range.
A structure that contains value information. For more information, see AssetPropertyValue in the AWS IoT SiteWise API Reference.
A structure that contains an asset property value. For more information, see Variant in the AWS IoT SiteWise API Reference.
4 nested properties
The asset property value is a Boolean value that must be TRUE or FALSE. You can also specify an expression. If you use an expression, the evaluated result should be a Boolean value.
The asset property value is a double. You can also specify an expression. If you use an expression, the evaluated result should be a double.
The asset property value is an integer. You can also specify an expression. If you use an expression, the evaluated result should be an integer.
The asset property value is a string. You can also specify an expression. If you use an expression, the evaluated result should be a string.
The quality of the asset property value. The value must be GOOD, BAD, or UNCERTAIN. You can also specify an expression.
A structure that contains timestamp information. For more information, see TimeInNanos in the AWS IoT SiteWise API Reference.
2 nested properties
The nanosecond offset converted from timeInSeconds. The valid range is between 0-999999999. You can also specify an expression.
The timestamp, in seconds, in the Unix epoch format. The valid range is between 1-31556889864403199. You can also specify an expression.
A structure that contains timestamp information. For more information, see TimeInNanos in the AWS IoT SiteWise API Reference.
The nanosecond offset converted from timeInSeconds. The valid range is between 0-999999999. You can also specify an expression.
The timestamp, in seconds, in the Unix epoch format. The valid range is between 1-31556889864403199. You can also specify an expression.
A structure that contains an asset property value. For more information, see Variant in the AWS IoT SiteWise API Reference.
The asset property value is a Boolean value that must be TRUE or FALSE. You can also specify an expression. If you use an expression, the evaluated result should be a Boolean value.
The asset property value is a double. You can also specify an expression. If you use an expression, the evaluated result should be a double.
The asset property value is an integer. You can also specify an expression. If you use an expression, the evaluated result should be an integer.
The asset property value is a string. You can also specify an expression. If you use an expression, the evaluated result should be a string.
Tags to be applied to Input.
Key of the Tag.
Value of the Tag.