@awboost/cfn-resource-types 0.1.159 → 0.1.161
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/AWS-B2BI-Capability.d.ts +6 -0
- package/lib/AWS-B2BI-Partnership.d.ts +128 -1
- package/lib/AWS-B2BI-Transformer.d.ts +89 -4
- package/lib/AWS-CloudFormation-CustomResource.d.ts +1 -0
- package/lib/AWS-EMR-Cluster.d.ts +37 -0
- package/lib/AWS-EMR-InstanceFleetConfig.d.ts +37 -0
- package/lib/AWS-IoT-DomainConfiguration.d.ts +14 -0
- package/lib/AWS-IoTEvents-AlarmModel.d.ts +200 -129
- package/lib/AWS-IoTEvents-AlarmModel.js +2 -3
- package/lib/AWS-IoTEvents-DetectorModel.d.ts +173 -124
- package/lib/AWS-IoTEvents-DetectorModel.js +5 -1
- package/lib/AWS-IoTEvents-Input.d.ts +10 -12
- package/lib/AWS-IoTEvents-Input.js +1 -1
- package/lib/AWS-S3-Bucket.d.ts +1 -0
- package/package.json +1 -1
|
@@ -1,14 +1,13 @@
|
|
|
1
1
|
import { Resource as $Resource } from "@awboost/cfn-template-builder/template/resource";
|
|
2
2
|
import type { ResourceOptions as $ResourceOptions } from "@awboost/cfn-template-builder/template";
|
|
3
3
|
/**
|
|
4
|
-
*
|
|
5
|
-
|
|
6
|
-
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.
|
|
4
|
+
* Resource type definition for `AWS::IoTEvents::AlarmModel`.
|
|
5
|
+
* Represents 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*.
|
|
7
6
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iotevents-alarmmodel.html}
|
|
8
7
|
*/
|
|
9
8
|
export type IoTEventsAlarmModelProperties = {
|
|
10
9
|
/**
|
|
11
|
-
* Contains the configuration information of alarm state changes
|
|
10
|
+
* Contains the configuration information of alarm state changes.
|
|
12
11
|
*/
|
|
13
12
|
AlarmCapabilities?: AlarmCapabilities;
|
|
14
13
|
/**
|
|
@@ -16,7 +15,7 @@ export type IoTEventsAlarmModelProperties = {
|
|
|
16
15
|
*/
|
|
17
16
|
AlarmEventActions?: AlarmEventActions;
|
|
18
17
|
/**
|
|
19
|
-
*
|
|
18
|
+
* The description of the alarm model.
|
|
20
19
|
* @maxLength `1024`
|
|
21
20
|
*/
|
|
22
21
|
AlarmModelDescription?: string;
|
|
@@ -32,32 +31,27 @@ export type IoTEventsAlarmModelProperties = {
|
|
|
32
31
|
*/
|
|
33
32
|
AlarmRule: AlarmRule;
|
|
34
33
|
/**
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
* @pattern `^((`[\w\- ]+`)|([\w\-]+))(\.((`[\w\- ]+`)|([\w\-]+)))*$`
|
|
41
|
-
*/
|
|
34
|
+
* An 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.
|
|
35
|
+
* @minLength `1`
|
|
36
|
+
* @maxLength `128`
|
|
37
|
+
* @pattern `^((`[\w\- ]+`)|([\w\-]+))(\.((`[\w\- ]+`)|([\w\-]+)))*$`
|
|
38
|
+
*/
|
|
42
39
|
Key?: string;
|
|
43
40
|
/**
|
|
44
|
-
* The ARN of the role that
|
|
41
|
+
* The 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*.
|
|
45
42
|
* @minLength `1`
|
|
46
43
|
* @maxLength `2048`
|
|
47
44
|
*/
|
|
48
45
|
RoleArn: string;
|
|
49
46
|
/**
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
* @max `2147483647`
|
|
55
|
-
*/
|
|
47
|
+
* A non-negative integer that reflects the severity level of the alarm.
|
|
48
|
+
* @min `0`
|
|
49
|
+
* @max `2147483647`
|
|
50
|
+
*/
|
|
56
51
|
Severity?: number;
|
|
57
52
|
/**
|
|
58
|
-
*
|
|
59
|
-
|
|
60
|
-
For more information, see [Tag](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-resource-tags.html).
|
|
53
|
+
* A list of key-value pairs that contain metadata for the alarm model. The tags help you manage the alarm model. For more information, see [Tagging your resources](https://docs.aws.amazon.com/iotevents/latest/developerguide/tagging-iotevents.html) in the *Developer Guide*.
|
|
54
|
+
You can create up to 50 tags for one alarm model.
|
|
61
55
|
*/
|
|
62
56
|
Tags?: Tag[];
|
|
63
57
|
};
|
|
@@ -68,52 +62,92 @@ export type IoTEventsAlarmModelProperties = {
|
|
|
68
62
|
*/
|
|
69
63
|
export type AcknowledgeFlow = {
|
|
70
64
|
/**
|
|
71
|
-
* The value must be TRUE or FALSE
|
|
65
|
+
* 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.
|
|
72
66
|
*/
|
|
73
67
|
Enabled?: boolean;
|
|
74
68
|
};
|
|
75
69
|
/**
|
|
76
70
|
* Type definition for `AWS::IoTEvents::AlarmModel.AlarmAction`.
|
|
77
|
-
*
|
|
71
|
+
* Specifies one of the following actions to receive notifications when the alarm state changes.
|
|
78
72
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotevents-alarmmodel-alarmaction.html}
|
|
79
73
|
*/
|
|
80
74
|
export type AlarmAction = {
|
|
81
75
|
/**
|
|
82
|
-
|
|
83
|
-
|
|
76
|
+
* Defines an action to write to the Amazon DynamoDB table that you created. The standard action payload contains all the information about the detector model instance and the event that triggered the action. You can customize the [payload](https://docs.aws.amazon.com/iotevents/latest/apireference/API_Payload.html). One column of the DynamoDB table receives all attribute-value pairs in the payload that you specify.
|
|
77
|
+
You must use expressions for all parameters in ``DynamoDBAction``. The expressions accept literals, operators, functions, references, and substitution templates.
|
|
78
|
+
**Examples**
|
|
79
|
+
+ For literal values, the expressions must contain single quotes. For example, the value for the ``hashKeyType`` parameter can be ``'STRING'``.
|
|
80
|
+
+ For references, you must specify either variables or input values. For example, the value for the ``hashKeyField`` parameter can be ``$input.GreenhouseInput.name``.
|
|
81
|
+
+ For a substitution template, you must use ``${}``, and the template must be in single quotes. A substitution template can also contain a combination of literals, operators, functions, references, and substitution templates.
|
|
82
|
+
In the following example, the value for the ``hashKeyValue`` parameter uses a substitution template.
|
|
83
|
+
``'${$input.GreenhouseInput.temperature * 6 / 5 + 32} in Fahrenheit'``
|
|
84
|
+
+ For a string concatenation, you must use ``+``. A string concatenation can also contain a combination of literals, operators, functions, references, and substitution templates.
|
|
85
|
+
In the following example, the value for the ``tableName`` parameter uses a string concatenation.
|
|
86
|
+
``'GreenhouseTemperatureTable ' + $input.GreenhouseInput.date``
|
|
87
|
+
|
|
88
|
+
For more information, see [Expressions](https://docs.aws.amazon.com/iotevents/latest/developerguide/iotevents-expressions.html) in the *Developer Guide*.
|
|
89
|
+
If the defined payload type is a string, ``DynamoDBAction`` writes non-JSON data to the DynamoDB table as binary data. The DynamoDB console displays the data as Base64-encoded text. The value for the ``payloadField`` parameter is ``<payload-field>_raw``.
|
|
90
|
+
*/
|
|
84
91
|
DynamoDB?: DynamoDB;
|
|
85
92
|
/**
|
|
86
|
-
* Defines an action to write to the Amazon DynamoDB table that you created. The default action payload contains all
|
|
87
|
-
|
|
88
|
-
|
|
93
|
+
* Defines an action to write to the Amazon DynamoDB table that you created. The default action payload contains all the information about the detector model instance and the event that triggered the action. You can customize the [payload](https://docs.aws.amazon.com/iotevents/latest/apireference/API_Payload.html). A separate column of the DynamoDB table receives one attribute-value pair in the payload that you specify.
|
|
94
|
+
You must use expressions for all parameters in ``DynamoDBv2Action``. The expressions accept literals, operators, functions, references, and substitution templates.
|
|
95
|
+
**Examples**
|
|
96
|
+
+ For literal values, the expressions must contain single quotes. For example, the value for the ``tableName`` parameter can be ``'GreenhouseTemperatureTable'``.
|
|
97
|
+
+ For references, you must specify either variables or input values. For example, the value for the ``tableName`` parameter can be ``$variable.ddbtableName``.
|
|
98
|
+
+ For a substitution template, you must use ``${}``, and the template must be in single quotes. A substitution template can also contain a combination of literals, operators, functions, references, and substitution templates.
|
|
99
|
+
In the following example, the value for the ``contentExpression`` parameter in ``Payload`` uses a substitution template.
|
|
100
|
+
``'{\"sensorID\": \"${$input.GreenhouseInput.sensor_id}\", \"temperature\": \"${$input.GreenhouseInput.temperature * 9 / 5 + 32}\"}'``
|
|
101
|
+
+ For a string concatenation, you must use ``+``. A string concatenation can also contain a combination of literals, operators, functions, references, and substitution templates.
|
|
102
|
+
In the following example, the value for the ``tableName`` parameter uses a string concatenation.
|
|
103
|
+
``'GreenhouseTemperatureTable ' + $input.GreenhouseInput.date``
|
|
104
|
+
|
|
105
|
+
For more information, see [Expressions](https://docs.aws.amazon.com/iotevents/latest/developerguide/iotevents-expressions.html) in the *Developer Guide*.
|
|
106
|
+
The value for the ``type`` parameter in ``Payload`` must be ``JSON``.
|
|
89
107
|
*/
|
|
90
108
|
DynamoDBv2?: DynamoDBv2;
|
|
91
109
|
/**
|
|
92
|
-
* Sends information about the
|
|
110
|
+
* Sends information about the detector model instance and the event that triggered the action to an Amazon Kinesis Data Firehose delivery stream.
|
|
93
111
|
*/
|
|
94
112
|
Firehose?: Firehose;
|
|
95
113
|
/**
|
|
96
|
-
* Sends an
|
|
114
|
+
* Sends an ITE input, passing in information about the detector model instance and the event that triggered the action.
|
|
97
115
|
*/
|
|
98
116
|
IotEvents?: IotEvents;
|
|
99
117
|
/**
|
|
100
|
-
|
|
101
|
-
|
|
118
|
+
* Sends information about the detector model instance and the event that triggered the action to a specified asset property in ITSW.
|
|
119
|
+
You must use expressions for all parameters in ``IotSiteWiseAction``. The expressions accept literals, operators, functions, references, and substitutions templates.
|
|
120
|
+
**Examples**
|
|
121
|
+
+ For literal values, the expressions must contain single quotes. For example, the value for the ``propertyAlias`` parameter can be ``'/company/windfarm/3/turbine/7/temperature'``.
|
|
122
|
+
+ For references, you must specify either variables or input values. For example, the value for the ``assetId`` parameter can be ``$input.TurbineInput.assetId1``.
|
|
123
|
+
+ For a substitution template, you must use ``${}``, and the template must be in single quotes. A substitution template can also contain a combination of literals, operators, functions, references, and substitution templates.
|
|
124
|
+
In the following example, the value for the ``propertyAlias`` parameter uses a substitution template.
|
|
125
|
+
``'company/windfarm/${$input.TemperatureInput.sensorData.windfarmID}/turbine/ ${$input.TemperatureInput.sensorData.turbineID}/temperature'``
|
|
126
|
+
|
|
127
|
+
You must specify either ``propertyAlias`` or both ``assetId`` and ``propertyId`` to identify the target asset property in ITSW.
|
|
128
|
+
For more information, see [Expressions](https://docs.aws.amazon.com/iotevents/latest/developerguide/iotevents-expressions.html) in the *Developer Guide*.
|
|
129
|
+
*/
|
|
102
130
|
IotSiteWise?: IotSiteWise;
|
|
103
131
|
/**
|
|
104
|
-
* Information required to publish the MQTT message through the
|
|
132
|
+
* Information required to publish the MQTT message through the IoT message broker.
|
|
105
133
|
*/
|
|
106
134
|
IotTopicPublish?: IotTopicPublish;
|
|
135
|
+
/**
|
|
136
|
+
* Calls a Lambda function, passing in information about the detector model instance and the event that triggered the action.
|
|
137
|
+
*/
|
|
107
138
|
Lambda?: Lambda;
|
|
108
139
|
/**
|
|
109
140
|
* Information required to publish the Amazon SNS message.
|
|
110
141
|
*/
|
|
111
142
|
Sns?: Sns;
|
|
143
|
+
/**
|
|
144
|
+
* Sends information about the detector model instance and the event that triggered the action to an Amazon SQS queue.
|
|
145
|
+
*/
|
|
112
146
|
Sqs?: Sqs;
|
|
113
147
|
};
|
|
114
148
|
/**
|
|
115
149
|
* Type definition for `AWS::IoTEvents::AlarmModel.AlarmCapabilities`.
|
|
116
|
-
* Contains the configuration information of alarm state changes
|
|
150
|
+
* Contains the configuration information of alarm state changes.
|
|
117
151
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotevents-alarmmodel-alarmcapabilities.html}
|
|
118
152
|
*/
|
|
119
153
|
export type AlarmCapabilities = {
|
|
@@ -150,79 +184,115 @@ export type AlarmRule = {
|
|
|
150
184
|
};
|
|
151
185
|
/**
|
|
152
186
|
* Type definition for `AWS::IoTEvents::AlarmModel.AssetPropertyTimestamp`.
|
|
153
|
-
* A structure that contains timestamp information. For more information, see [TimeInNanos](https://docs.aws.amazon.com/iot-sitewise/latest/APIReference/API_TimeInNanos.html) in the *
|
|
187
|
+
* A structure that contains timestamp information. For more information, see [TimeInNanos](https://docs.aws.amazon.com/iot-sitewise/latest/APIReference/API_TimeInNanos.html) in the *API Reference*.
|
|
188
|
+
You must use expressions for all parameters in ``AssetPropertyTimestamp``. The expressions accept literals, operators, functions, references, and substitution templates.
|
|
189
|
+
**Examples**
|
|
190
|
+
+ For literal values, the expressions must contain single quotes. For example, the value for the ``timeInSeconds`` parameter can be ``'1586400675'``.
|
|
191
|
+
+ For references, you must specify either variables or input values. For example, the value for the ``offsetInNanos`` parameter can be ``$variable.time``.
|
|
192
|
+
+ For a substitution template, you must use ``${}``, and the template must be in single quotes. A substitution template can also contain a combination of literals, operators, functions, references, and substitution templates.
|
|
193
|
+
In the following example, the value for the ``timeInSeconds`` parameter uses a substitution template.
|
|
194
|
+
``'${$input.TemperatureInput.sensorData.timestamp / 1000}'``
|
|
195
|
+
|
|
196
|
+
For more information, see [Expressions](https://docs.aws.amazon.com/iotevents/latest/developerguide/iotevents-expressions.html) in the *Developer Guide*.
|
|
154
197
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotevents-alarmmodel-assetpropertytimestamp.html}
|
|
155
198
|
*/
|
|
156
199
|
export type AssetPropertyTimestamp = {
|
|
157
200
|
/**
|
|
158
|
-
* The
|
|
201
|
+
* The nanosecond offset converted from ``timeInSeconds``. The valid range is between 0-999999999.
|
|
159
202
|
*/
|
|
160
203
|
OffsetInNanos?: string;
|
|
161
204
|
/**
|
|
162
|
-
* The
|
|
205
|
+
* The timestamp, in seconds, in the Unix epoch format. The valid range is between 1-31556889864403199.
|
|
163
206
|
*/
|
|
164
207
|
TimeInSeconds: string;
|
|
165
208
|
};
|
|
166
209
|
/**
|
|
167
210
|
* Type definition for `AWS::IoTEvents::AlarmModel.AssetPropertyValue`.
|
|
168
|
-
* A structure that contains value information. For more information, see [AssetPropertyValue](https://docs.aws.amazon.com/iot-sitewise/latest/APIReference/API_AssetPropertyValue.html) in the *
|
|
211
|
+
* A structure that contains value information. For more information, see [AssetPropertyValue](https://docs.aws.amazon.com/iot-sitewise/latest/APIReference/API_AssetPropertyValue.html) in the *API Reference*.
|
|
212
|
+
You must use expressions for all parameters in ``AssetPropertyValue``. The expressions accept literals, operators, functions, references, and substitution templates.
|
|
213
|
+
**Examples**
|
|
214
|
+
+ For literal values, the expressions must contain single quotes. For example, the value for the ``quality`` parameter can be ``'GOOD'``.
|
|
215
|
+
+ For references, you must specify either variables or input values. For example, the value for the ``quality`` parameter can be ``$input.TemperatureInput.sensorData.quality``.
|
|
216
|
+
|
|
217
|
+
For more information, see [Expressions](https://docs.aws.amazon.com/iotevents/latest/developerguide/iotevents-expressions.html) in the *Developer Guide*.
|
|
169
218
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotevents-alarmmodel-assetpropertyvalue.html}
|
|
170
219
|
*/
|
|
171
220
|
export type AssetPropertyValue = {
|
|
172
221
|
/**
|
|
173
|
-
* The quality of the asset property value. The value must be
|
|
222
|
+
* The quality of the asset property value. The value must be ``'GOOD'``, ``'BAD'``, or ``'UNCERTAIN'``.
|
|
174
223
|
*/
|
|
175
224
|
Quality?: string;
|
|
176
225
|
/**
|
|
177
|
-
*
|
|
226
|
+
* The timestamp associated with the asset property value. The default is the current event time.
|
|
178
227
|
*/
|
|
179
228
|
Timestamp?: AssetPropertyTimestamp;
|
|
180
229
|
/**
|
|
181
|
-
*
|
|
230
|
+
* The value to send to an asset property.
|
|
182
231
|
*/
|
|
183
232
|
Value: AssetPropertyVariant;
|
|
184
233
|
};
|
|
185
234
|
/**
|
|
186
235
|
* Type definition for `AWS::IoTEvents::AlarmModel.AssetPropertyVariant`.
|
|
187
|
-
* A structure that contains an asset property value. For more information, see [Variant](https://docs.aws.amazon.com/iot-sitewise/latest/APIReference/API_Variant.html) in the *
|
|
236
|
+
* A structure that contains an asset property value. For more information, see [Variant](https://docs.aws.amazon.com/iot-sitewise/latest/APIReference/API_Variant.html) in the *API Reference*.
|
|
237
|
+
You must use expressions for all parameters in ``AssetPropertyVariant``. The expressions accept literals, operators, functions, references, and substitution templates.
|
|
238
|
+
**Examples**
|
|
239
|
+
+ For literal values, the expressions must contain single quotes. For example, the value for the ``integerValue`` parameter can be ``'100'``.
|
|
240
|
+
+ For references, you must specify either variables or parameters. For example, the value for the ``booleanValue`` parameter can be ``$variable.offline``.
|
|
241
|
+
+ For a substitution template, you must use ``${}``, and the template must be in single quotes. A substitution template can also contain a combination of literals, operators, functions, references, and substitution templates.
|
|
242
|
+
In the following example, the value for the ``doubleValue`` parameter uses a substitution template.
|
|
243
|
+
``'${$input.TemperatureInput.sensorData.temperature * 6 / 5 + 32}'``
|
|
244
|
+
|
|
245
|
+
For more information, see [Expressions](https://docs.aws.amazon.com/iotevents/latest/developerguide/iotevents-expressions.html) in the *Developer Guide*.
|
|
246
|
+
You must specify one of the following value types, depending on the ``dataType`` of the specified asset property. For more information, see [AssetProperty](https://docs.aws.amazon.com/iot-sitewise/latest/APIReference/API_AssetProperty.html) in the *API Reference*.
|
|
188
247
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotevents-alarmmodel-assetpropertyvariant.html}
|
|
189
248
|
*/
|
|
190
249
|
export type AssetPropertyVariant = {
|
|
191
250
|
/**
|
|
192
|
-
* The asset property value is a Boolean value that must be
|
|
251
|
+
* The asset property value is a Boolean value that must be ``'TRUE'`` or ``'FALSE'``. You must use an expression, and the evaluated result should be a Boolean value.
|
|
193
252
|
*/
|
|
194
253
|
BooleanValue?: string;
|
|
195
254
|
/**
|
|
196
|
-
* The asset property value is a double. You
|
|
255
|
+
* The asset property value is a double. You must use an expression, and the evaluated result should be a double.
|
|
197
256
|
*/
|
|
198
257
|
DoubleValue?: string;
|
|
199
258
|
/**
|
|
200
|
-
* The asset property value is an integer. You
|
|
259
|
+
* The asset property value is an integer. You must use an expression, and the evaluated result should be an integer.
|
|
201
260
|
*/
|
|
202
261
|
IntegerValue?: string;
|
|
203
262
|
/**
|
|
204
|
-
* The asset property value is a string. You
|
|
263
|
+
* The asset property value is a string. You must use an expression, and the evaluated result should be a string.
|
|
205
264
|
*/
|
|
206
265
|
StringValue?: string;
|
|
207
266
|
};
|
|
208
267
|
/**
|
|
209
268
|
* Type definition for `AWS::IoTEvents::AlarmModel.DynamoDB`.
|
|
210
|
-
*
|
|
269
|
+
* Defines an action to write to the Amazon DynamoDB table that you created. The standard action payload contains all the information about the detector model instance and the event that triggered the action. You can customize the [payload](https://docs.aws.amazon.com/iotevents/latest/apireference/API_Payload.html). One column of the DynamoDB table receives all attribute-value pairs in the payload that you specify.
|
|
270
|
+
You must use expressions for all parameters in ``DynamoDBAction``. The expressions accept literals, operators, functions, references, and substitution templates.
|
|
271
|
+
**Examples**
|
|
272
|
+
+ For literal values, the expressions must contain single quotes. For example, the value for the ``hashKeyType`` parameter can be ``'STRING'``.
|
|
273
|
+
+ For references, you must specify either variables or input values. For example, the value for the ``hashKeyField`` parameter can be ``$input.GreenhouseInput.name``.
|
|
274
|
+
+ For a substitution template, you must use ``${}``, and the template must be in single quotes. A substitution template can also contain a combination of literals, operators, functions, references, and substitution templates.
|
|
275
|
+
In the following example, the value for the ``hashKeyValue`` parameter uses a substitution template.
|
|
276
|
+
``'${$input.GreenhouseInput.temperature * 6 / 5 + 32} in Fahrenheit'``
|
|
277
|
+
+ For a string concatenation, you must use ``+``. A string concatenation can also contain a combination of literals, operators, functions, references, and substitution templates.
|
|
278
|
+
In the following example, the value for the ``tableName`` parameter uses a string concatenation.
|
|
279
|
+
``'GreenhouseTemperatureTable ' + $input.GreenhouseInput.date``
|
|
280
|
+
|
|
281
|
+
For more information, see [Expressions](https://docs.aws.amazon.com/iotevents/latest/developerguide/iotevents-expressions.html) in the *Developer Guide*.
|
|
282
|
+
If the defined payload type is a string, ``DynamoDBAction`` writes non-JSON data to the DynamoDB table as binary data. The DynamoDB console displays the data as Base64-encoded text. The value for the ``payloadField`` parameter is ``<payload-field>_raw``.
|
|
211
283
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotevents-alarmmodel-dynamodb.html}
|
|
212
284
|
*/
|
|
213
285
|
export type DynamoDB = {
|
|
214
286
|
/**
|
|
215
|
-
* The name of the hash key (also called the partition key).
|
|
287
|
+
* The name of the hash key (also called the partition key). The ``hashKeyField`` value must match the partition key of the target DynamoDB table.
|
|
216
288
|
*/
|
|
217
289
|
HashKeyField: string;
|
|
218
290
|
/**
|
|
219
291
|
* The data type for the hash key (also called the partition key). You can specify the following values:
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
If you don't specify `hashKeyType`, the default value is `STRING`.
|
|
292
|
+
+ ``'STRING'`` - The hash key is a string.
|
|
293
|
+
+ ``'NUMBER'`` - The hash key is a number.
|
|
294
|
+
|
|
295
|
+
If you don't specify ``hashKeyType``, the default value is ``'STRING'``.
|
|
226
296
|
*/
|
|
227
297
|
HashKeyType?: string;
|
|
228
298
|
/**
|
|
@@ -231,40 +301,33 @@ export type DynamoDB = {
|
|
|
231
301
|
HashKeyValue: string;
|
|
232
302
|
/**
|
|
233
303
|
* The type of operation to perform. You can specify the following values:
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
* `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.
|
|
240
|
-
|
|
241
|
-
If you don't specify this parameter, AWS IoT Events triggers the `INSERT` operation.
|
|
304
|
+
+ ``'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.
|
|
305
|
+
+ ``'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.
|
|
306
|
+
+ ``'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.
|
|
307
|
+
|
|
308
|
+
If you don't specify this parameter, ITE triggers the ``'INSERT'`` operation.
|
|
242
309
|
*/
|
|
243
310
|
Operation?: string;
|
|
244
311
|
/**
|
|
245
312
|
* Information needed to configure the payload.
|
|
246
|
-
|
|
247
|
-
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`.
|
|
313
|
+
By default, ITE generates a standard payload in JSON for any action. This action payload contains all attribute-value pairs that have the information about the detector model instance and the event triggered the action. To configure the action payload, you can use ``contentExpression``.
|
|
248
314
|
*/
|
|
249
315
|
Payload?: Payload;
|
|
250
316
|
/**
|
|
251
317
|
* The name of the DynamoDB column that receives the action payload.
|
|
252
|
-
|
|
253
|
-
If you don't specify this parameter, the name of the DynamoDB column is `payload`.
|
|
318
|
+
If you don't specify this parameter, the name of the DynamoDB column is ``payload``.
|
|
254
319
|
*/
|
|
255
320
|
PayloadField?: string;
|
|
256
321
|
/**
|
|
257
|
-
* The name of the range key (also called the sort key).
|
|
322
|
+
* The name of the range key (also called the sort key). The ``rangeKeyField`` value must match the sort key of the target DynamoDB table.
|
|
258
323
|
*/
|
|
259
324
|
RangeKeyField?: string;
|
|
260
325
|
/**
|
|
261
326
|
* The data type for the range key (also called the sort key), You can specify the following values:
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
If you don't specify `rangeKeyField`, the default value is `STRING`.
|
|
327
|
+
+ ``'STRING'`` - The range key is a string.
|
|
328
|
+
+ ``'NUMBER'`` - The range key is number.
|
|
329
|
+
|
|
330
|
+
If you don't specify ``rangeKeyField``, the default value is ``'STRING'``.
|
|
268
331
|
*/
|
|
269
332
|
RangeKeyType?: string;
|
|
270
333
|
/**
|
|
@@ -272,22 +335,32 @@ export type DynamoDB = {
|
|
|
272
335
|
*/
|
|
273
336
|
RangeKeyValue?: string;
|
|
274
337
|
/**
|
|
275
|
-
* The name of the DynamoDB table.
|
|
338
|
+
* The name of the DynamoDB table. The ``tableName`` value must match the table name of the target DynamoDB table.
|
|
276
339
|
*/
|
|
277
340
|
TableName: string;
|
|
278
341
|
};
|
|
279
342
|
/**
|
|
280
343
|
* Type definition for `AWS::IoTEvents::AlarmModel.DynamoDBv2`.
|
|
281
|
-
* Defines an action to write to the Amazon DynamoDB table that you created. The default action payload contains all
|
|
282
|
-
|
|
283
|
-
|
|
344
|
+
* Defines an action to write to the Amazon DynamoDB table that you created. The default action payload contains all the information about the detector model instance and the event that triggered the action. You can customize the [payload](https://docs.aws.amazon.com/iotevents/latest/apireference/API_Payload.html). A separate column of the DynamoDB table receives one attribute-value pair in the payload that you specify.
|
|
345
|
+
You must use expressions for all parameters in ``DynamoDBv2Action``. The expressions accept literals, operators, functions, references, and substitution templates.
|
|
346
|
+
**Examples**
|
|
347
|
+
+ For literal values, the expressions must contain single quotes. For example, the value for the ``tableName`` parameter can be ``'GreenhouseTemperatureTable'``.
|
|
348
|
+
+ For references, you must specify either variables or input values. For example, the value for the ``tableName`` parameter can be ``$variable.ddbtableName``.
|
|
349
|
+
+ For a substitution template, you must use ``${}``, and the template must be in single quotes. A substitution template can also contain a combination of literals, operators, functions, references, and substitution templates.
|
|
350
|
+
In the following example, the value for the ``contentExpression`` parameter in ``Payload`` uses a substitution template.
|
|
351
|
+
``'{\"sensorID\": \"${$input.GreenhouseInput.sensor_id}\", \"temperature\": \"${$input.GreenhouseInput.temperature * 9 / 5 + 32}\"}'``
|
|
352
|
+
+ For a string concatenation, you must use ``+``. A string concatenation can also contain a combination of literals, operators, functions, references, and substitution templates.
|
|
353
|
+
In the following example, the value for the ``tableName`` parameter uses a string concatenation.
|
|
354
|
+
``'GreenhouseTemperatureTable ' + $input.GreenhouseInput.date``
|
|
355
|
+
|
|
356
|
+
For more information, see [Expressions](https://docs.aws.amazon.com/iotevents/latest/developerguide/iotevents-expressions.html) in the *Developer Guide*.
|
|
357
|
+
The value for the ``type`` parameter in ``Payload`` must be ``JSON``.
|
|
284
358
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotevents-alarmmodel-dynamodbv2.html}
|
|
285
359
|
*/
|
|
286
360
|
export type DynamoDBv2 = {
|
|
287
361
|
/**
|
|
288
362
|
* Information needed to configure the payload.
|
|
289
|
-
|
|
290
|
-
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`.
|
|
363
|
+
By default, ITE generates a standard payload in JSON for any action. This action payload contains all attribute-value pairs that have the information about the detector model instance and the event triggered the action. To configure the action payload, you can use ``contentExpression``.
|
|
291
364
|
*/
|
|
292
365
|
Payload?: Payload;
|
|
293
366
|
/**
|
|
@@ -297,7 +370,7 @@ export type DynamoDBv2 = {
|
|
|
297
370
|
};
|
|
298
371
|
/**
|
|
299
372
|
* Type definition for `AWS::IoTEvents::AlarmModel.Firehose`.
|
|
300
|
-
* Sends information about the
|
|
373
|
+
* Sends information about the detector model instance and the event that triggered the action to an Amazon Kinesis Data Firehose delivery stream.
|
|
301
374
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotevents-alarmmodel-firehose.html}
|
|
302
375
|
*/
|
|
303
376
|
export type Firehose = {
|
|
@@ -306,10 +379,8 @@ export type Firehose = {
|
|
|
306
379
|
*/
|
|
307
380
|
DeliveryStreamName: string;
|
|
308
381
|
/**
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
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`.
|
|
312
|
-
*/
|
|
382
|
+
* You can configure the action payload when you send a message to an Amazon Data Firehose delivery stream.
|
|
383
|
+
*/
|
|
313
384
|
Payload?: Payload;
|
|
314
385
|
/**
|
|
315
386
|
* 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).
|
|
@@ -324,78 +395,85 @@ export type Firehose = {
|
|
|
324
395
|
*/
|
|
325
396
|
export type InitializationConfiguration = {
|
|
326
397
|
/**
|
|
327
|
-
* The value must be TRUE or FALSE
|
|
398
|
+
* 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``.
|
|
328
399
|
*/
|
|
329
400
|
DisabledOnInitialization: boolean;
|
|
330
401
|
};
|
|
331
402
|
/**
|
|
332
403
|
* Type definition for `AWS::IoTEvents::AlarmModel.IotEvents`.
|
|
333
|
-
* Sends an
|
|
404
|
+
* Sends an ITE input, passing in information about the detector model instance and the event that triggered the action.
|
|
334
405
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotevents-alarmmodel-iotevents.html}
|
|
335
406
|
*/
|
|
336
407
|
export type IotEvents = {
|
|
337
408
|
/**
|
|
338
|
-
* The name of the
|
|
409
|
+
* The name of the ITE input where the data is sent.
|
|
339
410
|
* @minLength `1`
|
|
340
411
|
* @maxLength `128`
|
|
341
412
|
* @pattern `^[a-zA-Z][a-zA-Z0-9_]*$`
|
|
342
413
|
*/
|
|
343
414
|
InputName: string;
|
|
344
415
|
/**
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
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`.
|
|
348
|
-
*/
|
|
416
|
+
* You can configure the action payload when you send a message to an ITE input.
|
|
417
|
+
*/
|
|
349
418
|
Payload?: Payload;
|
|
350
419
|
};
|
|
351
420
|
/**
|
|
352
421
|
* Type definition for `AWS::IoTEvents::AlarmModel.IotSiteWise`.
|
|
353
|
-
* Sends information about the
|
|
422
|
+
* Sends information about the detector model instance and the event that triggered the action to a specified asset property in ITSW.
|
|
423
|
+
You must use expressions for all parameters in ``IotSiteWiseAction``. The expressions accept literals, operators, functions, references, and substitutions templates.
|
|
424
|
+
**Examples**
|
|
425
|
+
+ For literal values, the expressions must contain single quotes. For example, the value for the ``propertyAlias`` parameter can be ``'/company/windfarm/3/turbine/7/temperature'``.
|
|
426
|
+
+ For references, you must specify either variables or input values. For example, the value for the ``assetId`` parameter can be ``$input.TurbineInput.assetId1``.
|
|
427
|
+
+ For a substitution template, you must use ``${}``, and the template must be in single quotes. A substitution template can also contain a combination of literals, operators, functions, references, and substitution templates.
|
|
428
|
+
In the following example, the value for the ``propertyAlias`` parameter uses a substitution template.
|
|
429
|
+
``'company/windfarm/${$input.TemperatureInput.sensorData.windfarmID}/turbine/ ${$input.TemperatureInput.sensorData.turbineID}/temperature'``
|
|
430
|
+
|
|
431
|
+
You must specify either ``propertyAlias`` or both ``assetId`` and ``propertyId`` to identify the target asset property in ITSW.
|
|
432
|
+
For more information, see [Expressions](https://docs.aws.amazon.com/iotevents/latest/developerguide/iotevents-expressions.html) in the *Developer Guide*.
|
|
354
433
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotevents-alarmmodel-iotsitewise.html}
|
|
355
434
|
*/
|
|
356
435
|
export type IotSiteWise = {
|
|
357
436
|
/**
|
|
358
|
-
* The ID of the asset that has the specified property.
|
|
437
|
+
* The ID of the asset that has the specified property.
|
|
359
438
|
*/
|
|
360
439
|
AssetId?: string;
|
|
361
440
|
/**
|
|
362
|
-
* 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.
|
|
441
|
+
* 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.
|
|
363
442
|
*/
|
|
364
443
|
EntryId?: string;
|
|
365
444
|
/**
|
|
366
|
-
* The alias of the asset property.
|
|
445
|
+
* The alias of the asset property.
|
|
367
446
|
*/
|
|
368
447
|
PropertyAlias?: string;
|
|
369
448
|
/**
|
|
370
|
-
* The ID of the asset property.
|
|
449
|
+
* The ID of the asset property.
|
|
371
450
|
*/
|
|
372
451
|
PropertyId?: string;
|
|
373
452
|
/**
|
|
374
|
-
*
|
|
453
|
+
* The value to send to the asset property. This value contains timestamp, quality, and value (TQV) information.
|
|
375
454
|
*/
|
|
376
455
|
PropertyValue?: AssetPropertyValue;
|
|
377
456
|
};
|
|
378
457
|
/**
|
|
379
458
|
* Type definition for `AWS::IoTEvents::AlarmModel.IotTopicPublish`.
|
|
380
|
-
* Information required to publish the MQTT message through the
|
|
459
|
+
* Information required to publish the MQTT message through the IoT message broker.
|
|
381
460
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotevents-alarmmodel-iottopicpublish.html}
|
|
382
461
|
*/
|
|
383
462
|
export type IotTopicPublish = {
|
|
384
463
|
/**
|
|
385
|
-
* The MQTT topic of the message. You can use a string expression that includes variables (
|
|
464
|
+
* 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.
|
|
386
465
|
* @minLength `1`
|
|
387
466
|
* @maxLength `128`
|
|
388
467
|
*/
|
|
389
468
|
MqttTopic: string;
|
|
390
469
|
/**
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
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`.
|
|
394
|
-
*/
|
|
470
|
+
* You can configure the action payload when you publish a message to an IoTCore topic.
|
|
471
|
+
*/
|
|
395
472
|
Payload?: Payload;
|
|
396
473
|
};
|
|
397
474
|
/**
|
|
398
475
|
* Type definition for `AWS::IoTEvents::AlarmModel.Lambda`.
|
|
476
|
+
* Calls a Lambda function, passing in information about the detector model instance and the event that triggered the action.
|
|
399
477
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotevents-alarmmodel-lambda.html}
|
|
400
478
|
*/
|
|
401
479
|
export type Lambda = {
|
|
@@ -406,27 +484,24 @@ export type Lambda = {
|
|
|
406
484
|
*/
|
|
407
485
|
FunctionArn: string;
|
|
408
486
|
/**
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
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`.
|
|
412
|
-
*/
|
|
487
|
+
* You can configure the action payload when you send a message to a Lambda function.
|
|
488
|
+
*/
|
|
413
489
|
Payload?: Payload;
|
|
414
490
|
};
|
|
415
491
|
/**
|
|
416
492
|
* Type definition for `AWS::IoTEvents::AlarmModel.Payload`.
|
|
417
493
|
* Information needed to configure the payload.
|
|
418
|
-
|
|
419
|
-
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`.
|
|
494
|
+
By default, ITE generates a standard payload in JSON for any action. This action payload contains all attribute-value pairs that have the information about the detector model instance and the event triggered the action. To configure the action payload, you can use ``contentExpression``.
|
|
420
495
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotevents-alarmmodel-payload.html}
|
|
421
496
|
*/
|
|
422
497
|
export type Payload = {
|
|
423
498
|
/**
|
|
424
|
-
* The content of the payload. You can use a string expression that includes quoted strings (
|
|
499
|
+
* 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.
|
|
425
500
|
* @minLength `1`
|
|
426
501
|
*/
|
|
427
502
|
ContentExpression: string;
|
|
428
503
|
/**
|
|
429
|
-
* The value of the payload type can be either
|
|
504
|
+
* The value of the payload type can be either ``STRING`` or ``JSON``.
|
|
430
505
|
*/
|
|
431
506
|
Type: string;
|
|
432
507
|
};
|
|
@@ -441,13 +516,13 @@ export type SimpleRule = {
|
|
|
441
516
|
*/
|
|
442
517
|
ComparisonOperator: "GREATER" | "GREATER_OR_EQUAL" | "LESS" | "LESS_OR_EQUAL" | "EQUAL" | "NOT_EQUAL";
|
|
443
518
|
/**
|
|
444
|
-
* The value on the left side of the comparison operator. You can specify an
|
|
519
|
+
* The value on the left side of the comparison operator. You can specify an ITE input attribute as an input property.
|
|
445
520
|
* @minLength `1`
|
|
446
521
|
* @maxLength `512`
|
|
447
522
|
*/
|
|
448
523
|
InputProperty: string;
|
|
449
524
|
/**
|
|
450
|
-
* The value on the right side of the comparison operator. You can enter a number or specify an
|
|
525
|
+
* The value on the right side of the comparison operator. You can enter a number or specify an ITE input attribute.
|
|
451
526
|
* @minLength `1`
|
|
452
527
|
* @maxLength `512`
|
|
453
528
|
*/
|
|
@@ -460,10 +535,8 @@ export type SimpleRule = {
|
|
|
460
535
|
*/
|
|
461
536
|
export type Sns = {
|
|
462
537
|
/**
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
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`.
|
|
466
|
-
*/
|
|
538
|
+
* You can configure the action payload when you send a message as an Amazon SNS push notification.
|
|
539
|
+
*/
|
|
467
540
|
Payload?: Payload;
|
|
468
541
|
/**
|
|
469
542
|
* The ARN of the Amazon SNS target where the message is sent.
|
|
@@ -474,43 +547,41 @@ export type Sns = {
|
|
|
474
547
|
};
|
|
475
548
|
/**
|
|
476
549
|
* Type definition for `AWS::IoTEvents::AlarmModel.Sqs`.
|
|
550
|
+
* Sends information about the detector model instance and the event that triggered the action to an Amazon SQS queue.
|
|
477
551
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotevents-alarmmodel-sqs.html}
|
|
478
552
|
*/
|
|
479
553
|
export type Sqs = {
|
|
480
554
|
/**
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
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`.
|
|
484
|
-
*/
|
|
555
|
+
* You can configure the action payload when you send a message to an Amazon SQS queue.
|
|
556
|
+
*/
|
|
485
557
|
Payload?: Payload;
|
|
486
558
|
/**
|
|
487
559
|
* The URL of the SQS queue where the data is written.
|
|
488
560
|
*/
|
|
489
561
|
QueueUrl: string;
|
|
490
562
|
/**
|
|
491
|
-
* Set this to
|
|
563
|
+
* 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.
|
|
492
564
|
*/
|
|
493
565
|
UseBase64?: boolean;
|
|
494
566
|
};
|
|
495
567
|
/**
|
|
496
568
|
* Type definition for `AWS::IoTEvents::AlarmModel.Tag`.
|
|
497
|
-
*
|
|
569
|
+
* Metadata that can be used to manage the resource.
|
|
498
570
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotevents-alarmmodel-tag.html}
|
|
499
571
|
*/
|
|
500
572
|
export type Tag = {
|
|
501
573
|
/**
|
|
502
|
-
*
|
|
574
|
+
* The tag's key.
|
|
503
575
|
*/
|
|
504
576
|
Key: string;
|
|
505
577
|
/**
|
|
506
|
-
*
|
|
578
|
+
* The tag's value.
|
|
507
579
|
*/
|
|
508
580
|
Value: string;
|
|
509
581
|
};
|
|
510
582
|
/**
|
|
511
|
-
*
|
|
512
|
-
|
|
513
|
-
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.
|
|
583
|
+
* Resource type definition for `AWS::IoTEvents::AlarmModel`.
|
|
584
|
+
* Represents 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*.
|
|
514
585
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iotevents-alarmmodel.html}
|
|
515
586
|
*/
|
|
516
587
|
export declare class IoTEventsAlarmModel extends $Resource<"AWS::IoTEvents::AlarmModel", IoTEventsAlarmModelProperties, Record<string, never>> {
|