@pulumi/aws-native 0.121.0 → 0.122.0-alpha.1724761835
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/appintegrations/application.d.ts +2 -2
- package/appintegrations/application.js +3 -0
- package/appintegrations/application.js.map +1 -1
- package/entityresolution/getMatchingWorkflow.d.ts +1 -0
- package/entityresolution/getMatchingWorkflow.js.map +1 -1
- package/entityresolution/matchingWorkflow.d.ts +2 -0
- package/entityresolution/matchingWorkflow.js +2 -0
- package/entityresolution/matchingWorkflow.js.map +1 -1
- package/iotevents/alarmModel.d.ts +11 -19
- package/iotevents/alarmModel.js +1 -3
- package/iotevents/alarmModel.js.map +1 -1
- package/iotevents/detectorModel.d.ts +13 -13
- package/iotevents/detectorModel.js +5 -1
- package/iotevents/detectorModel.js.map +1 -1
- package/iotevents/getAlarmModel.d.ts +6 -11
- package/iotevents/getAlarmModel.js +2 -6
- package/iotevents/getAlarmModel.js.map +1 -1
- package/iotevents/getDetectorModel.d.ts +12 -5
- package/iotevents/getDetectorModel.js +10 -2
- package/iotevents/getDetectorModel.js.map +1 -1
- package/iotevents/getInput.d.ts +3 -4
- package/iotevents/getInput.js +2 -2
- package/iotevents/getInput.js.map +1 -1
- package/iotevents/input.d.ts +3 -5
- package/iotevents/input.js +1 -1
- package/iotevents/input.js.map +1 -1
- package/package.json +3 -3
- package/package.json.dev +2 -2
- package/types/enums/entityresolution/index.d.ts +4 -0
- package/types/enums/entityresolution/index.js +4 -1
- package/types/enums/entityresolution/index.js.map +1 -1
- package/types/input.d.ts +394 -139
- package/types/output.d.ts +394 -139
package/types/input.d.ts
CHANGED
|
@@ -25481,6 +25481,9 @@ export declare namespace entityresolution {
|
|
|
25481
25481
|
*/
|
|
25482
25482
|
ruleName: pulumi.Input<string>;
|
|
25483
25483
|
}
|
|
25484
|
+
interface MatchingWorkflowIncrementalRunConfigArgs {
|
|
25485
|
+
incrementalRunType: pulumi.Input<enums.entityresolution.MatchingWorkflowIncrementalRunConfigIncrementalRunType>;
|
|
25486
|
+
}
|
|
25484
25487
|
interface MatchingWorkflowInputSourceArgs {
|
|
25485
25488
|
/**
|
|
25486
25489
|
* Normalizes the attributes defined in the schema in the input data. For example, if an attribute has an `AttributeType` of `PHONE_NUMBER` , and the data in the input table is in a format of 1234567890, AWS Entity Resolution will normalize this field in the output to (123)-456-7890.
|
|
@@ -32273,26 +32276,89 @@ export declare namespace iotevents {
|
|
|
32273
32276
|
*/
|
|
32274
32277
|
interface AlarmModelAcknowledgeFlowArgs {
|
|
32275
32278
|
/**
|
|
32276
|
-
* The value must be TRUE or FALSE
|
|
32279
|
+
* 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.
|
|
32277
32280
|
*/
|
|
32278
32281
|
enabled?: pulumi.Input<boolean>;
|
|
32279
32282
|
}
|
|
32280
32283
|
/**
|
|
32281
|
-
*
|
|
32284
|
+
* Specifies one of the following actions to receive notifications when the alarm state changes.
|
|
32282
32285
|
*/
|
|
32283
32286
|
interface AlarmModelAlarmActionArgs {
|
|
32287
|
+
/**
|
|
32288
|
+
* 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.
|
|
32289
|
+
* You must use expressions for all parameters in ``DynamoDBv2Action``. The expressions accept literals, operators, functions, references, and substitution templates.
|
|
32290
|
+
* **Examples**
|
|
32291
|
+
* + For literal values, the expressions must contain single quotes. For example, the value for the ``tableName`` parameter can be ``'GreenhouseTemperatureTable'``.
|
|
32292
|
+
* + For references, you must specify either variables or input values. For example, the value for the ``tableName`` parameter can be ``$variable.ddbtableName``.
|
|
32293
|
+
* + 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.
|
|
32294
|
+
* In the following example, the value for the ``contentExpression`` parameter in ``Payload`` uses a substitution template.
|
|
32295
|
+
* ``'{\"sensorID\": \"${$input.GreenhouseInput.sensor_id}\", \"temperature\": \"${$input.GreenhouseInput.temperature * 9 / 5 + 32}\"}'``
|
|
32296
|
+
* + For a string concatenation, you must use ``+``. A string concatenation can also contain a combination of literals, operators, functions, references, and substitution templates.
|
|
32297
|
+
* In the following example, the value for the ``tableName`` parameter uses a string concatenation.
|
|
32298
|
+
* ``'GreenhouseTemperatureTable ' + $input.GreenhouseInput.date``
|
|
32299
|
+
*
|
|
32300
|
+
* For more information, see [Expressions](https://docs.aws.amazon.com/iotevents/latest/developerguide/iotevents-expressions.html) in the *Developer Guide*.
|
|
32301
|
+
* The value for the ``type`` parameter in ``Payload`` must be ``JSON``.
|
|
32302
|
+
*/
|
|
32284
32303
|
dynamoDBv2?: pulumi.Input<inputs.iotevents.AlarmModelDynamoDBv2Args>;
|
|
32304
|
+
/**
|
|
32305
|
+
* 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.
|
|
32306
|
+
* You must use expressions for all parameters in ``DynamoDBAction``. The expressions accept literals, operators, functions, references, and substitution templates.
|
|
32307
|
+
* **Examples**
|
|
32308
|
+
* + For literal values, the expressions must contain single quotes. For example, the value for the ``hashKeyType`` parameter can be ``'STRING'``.
|
|
32309
|
+
* + For references, you must specify either variables or input values. For example, the value for the ``hashKeyField`` parameter can be ``$input.GreenhouseInput.name``.
|
|
32310
|
+
* + 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.
|
|
32311
|
+
* In the following example, the value for the ``hashKeyValue`` parameter uses a substitution template.
|
|
32312
|
+
* ``'${$input.GreenhouseInput.temperature * 6 / 5 + 32} in Fahrenheit'``
|
|
32313
|
+
* + For a string concatenation, you must use ``+``. A string concatenation can also contain a combination of literals, operators, functions, references, and substitution templates.
|
|
32314
|
+
* In the following example, the value for the ``tableName`` parameter uses a string concatenation.
|
|
32315
|
+
* ``'GreenhouseTemperatureTable ' + $input.GreenhouseInput.date``
|
|
32316
|
+
*
|
|
32317
|
+
* For more information, see [Expressions](https://docs.aws.amazon.com/iotevents/latest/developerguide/iotevents-expressions.html) in the *Developer Guide*.
|
|
32318
|
+
* 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``.
|
|
32319
|
+
*/
|
|
32285
32320
|
dynamoDb?: pulumi.Input<inputs.iotevents.AlarmModelDynamoDbArgs>;
|
|
32321
|
+
/**
|
|
32322
|
+
* Sends information about the detector model instance and the event that triggered the action to an Amazon Kinesis Data Firehose delivery stream.
|
|
32323
|
+
*/
|
|
32286
32324
|
firehose?: pulumi.Input<inputs.iotevents.AlarmModelFirehoseArgs>;
|
|
32325
|
+
/**
|
|
32326
|
+
* Sends an ITE input, passing in information about the detector model instance and the event that triggered the action.
|
|
32327
|
+
*/
|
|
32287
32328
|
iotEvents?: pulumi.Input<inputs.iotevents.AlarmModelIotEventsArgs>;
|
|
32329
|
+
/**
|
|
32330
|
+
* Sends information about the detector model instance and the event that triggered the action to a specified asset property in ITSW.
|
|
32331
|
+
* You must use expressions for all parameters in ``IotSiteWiseAction``. The expressions accept literals, operators, functions, references, and substitutions templates.
|
|
32332
|
+
* **Examples**
|
|
32333
|
+
* + 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'``.
|
|
32334
|
+
* + For references, you must specify either variables or input values. For example, the value for the ``assetId`` parameter can be ``$input.TurbineInput.assetId1``.
|
|
32335
|
+
* + 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.
|
|
32336
|
+
* In the following example, the value for the ``propertyAlias`` parameter uses a substitution template.
|
|
32337
|
+
* ``'company/windfarm/${$input.TemperatureInput.sensorData.windfarmID}/turbine/ ${$input.TemperatureInput.sensorData.turbineID}/temperature'``
|
|
32338
|
+
*
|
|
32339
|
+
* You must specify either ``propertyAlias`` or both ``assetId`` and ``propertyId`` to identify the target asset property in ITSW.
|
|
32340
|
+
* For more information, see [Expressions](https://docs.aws.amazon.com/iotevents/latest/developerguide/iotevents-expressions.html) in the *Developer Guide*.
|
|
32341
|
+
*/
|
|
32288
32342
|
iotSiteWise?: pulumi.Input<inputs.iotevents.AlarmModelIotSiteWiseArgs>;
|
|
32343
|
+
/**
|
|
32344
|
+
* Information required to publish the MQTT message through the IoT message broker.
|
|
32345
|
+
*/
|
|
32289
32346
|
iotTopicPublish?: pulumi.Input<inputs.iotevents.AlarmModelIotTopicPublishArgs>;
|
|
32347
|
+
/**
|
|
32348
|
+
* Calls a Lambda function, passing in information about the detector model instance and the event that triggered the action.
|
|
32349
|
+
*/
|
|
32290
32350
|
lambda?: pulumi.Input<inputs.iotevents.AlarmModelLambdaArgs>;
|
|
32351
|
+
/**
|
|
32352
|
+
* Information required to publish the Amazon SNS message.
|
|
32353
|
+
*/
|
|
32291
32354
|
sns?: pulumi.Input<inputs.iotevents.AlarmModelSnsArgs>;
|
|
32355
|
+
/**
|
|
32356
|
+
* Sends information about the detector model instance and the event that triggered the action to an Amazon SQS queue.
|
|
32357
|
+
*/
|
|
32292
32358
|
sqs?: pulumi.Input<inputs.iotevents.AlarmModelSqsArgs>;
|
|
32293
32359
|
}
|
|
32294
32360
|
/**
|
|
32295
|
-
* Contains the configuration information of alarm state changes
|
|
32361
|
+
* Contains the configuration information of alarm state changes.
|
|
32296
32362
|
*/
|
|
32297
32363
|
interface AlarmModelAlarmCapabilitiesArgs {
|
|
32298
32364
|
/**
|
|
@@ -32323,56 +32389,102 @@ export declare namespace iotevents {
|
|
|
32323
32389
|
simpleRule?: pulumi.Input<inputs.iotevents.AlarmModelSimpleRuleArgs>;
|
|
32324
32390
|
}
|
|
32325
32391
|
/**
|
|
32326
|
-
* 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 *
|
|
32392
|
+
* 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*.
|
|
32393
|
+
* You must use expressions for all parameters in ``AssetPropertyTimestamp``. The expressions accept literals, operators, functions, references, and substitution templates.
|
|
32394
|
+
* **Examples**
|
|
32395
|
+
* + For literal values, the expressions must contain single quotes. For example, the value for the ``timeInSeconds`` parameter can be ``'1586400675'``.
|
|
32396
|
+
* + For references, you must specify either variables or input values. For example, the value for the ``offsetInNanos`` parameter can be ``$variable.time``.
|
|
32397
|
+
* + 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.
|
|
32398
|
+
* In the following example, the value for the ``timeInSeconds`` parameter uses a substitution template.
|
|
32399
|
+
* ``'${$input.TemperatureInput.sensorData.timestamp / 1000}'``
|
|
32400
|
+
*
|
|
32401
|
+
* For more information, see [Expressions](https://docs.aws.amazon.com/iotevents/latest/developerguide/iotevents-expressions.html) in the *Developer Guide*.
|
|
32327
32402
|
*/
|
|
32328
32403
|
interface AlarmModelAssetPropertyTimestampArgs {
|
|
32329
32404
|
/**
|
|
32330
|
-
* The
|
|
32405
|
+
* The nanosecond offset converted from ``timeInSeconds``. The valid range is between 0-999999999.
|
|
32331
32406
|
*/
|
|
32332
32407
|
offsetInNanos?: pulumi.Input<string>;
|
|
32333
32408
|
/**
|
|
32334
|
-
* The
|
|
32409
|
+
* The timestamp, in seconds, in the Unix epoch format. The valid range is between 1-31556889864403199.
|
|
32335
32410
|
*/
|
|
32336
32411
|
timeInSeconds: pulumi.Input<string>;
|
|
32337
32412
|
}
|
|
32338
32413
|
/**
|
|
32339
|
-
* 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 *
|
|
32414
|
+
* 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*.
|
|
32415
|
+
* You must use expressions for all parameters in ``AssetPropertyValue``. The expressions accept literals, operators, functions, references, and substitution templates.
|
|
32416
|
+
* **Examples**
|
|
32417
|
+
* + For literal values, the expressions must contain single quotes. For example, the value for the ``quality`` parameter can be ``'GOOD'``.
|
|
32418
|
+
* + For references, you must specify either variables or input values. For example, the value for the ``quality`` parameter can be ``$input.TemperatureInput.sensorData.quality``.
|
|
32419
|
+
*
|
|
32420
|
+
* For more information, see [Expressions](https://docs.aws.amazon.com/iotevents/latest/developerguide/iotevents-expressions.html) in the *Developer Guide*.
|
|
32340
32421
|
*/
|
|
32341
32422
|
interface AlarmModelAssetPropertyValueArgs {
|
|
32342
32423
|
/**
|
|
32343
|
-
* The quality of the asset property value. The value must be
|
|
32424
|
+
* The quality of the asset property value. The value must be ``'GOOD'``, ``'BAD'``, or ``'UNCERTAIN'``.
|
|
32344
32425
|
*/
|
|
32345
32426
|
quality?: pulumi.Input<string>;
|
|
32427
|
+
/**
|
|
32428
|
+
* The timestamp associated with the asset property value. The default is the current event time.
|
|
32429
|
+
*/
|
|
32346
32430
|
timestamp?: pulumi.Input<inputs.iotevents.AlarmModelAssetPropertyTimestampArgs>;
|
|
32431
|
+
/**
|
|
32432
|
+
* The value to send to an asset property.
|
|
32433
|
+
*/
|
|
32347
32434
|
value: pulumi.Input<inputs.iotevents.AlarmModelAssetPropertyVariantArgs>;
|
|
32348
32435
|
}
|
|
32349
32436
|
/**
|
|
32350
|
-
* 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 *
|
|
32437
|
+
* 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*.
|
|
32438
|
+
* You must use expressions for all parameters in ``AssetPropertyVariant``. The expressions accept literals, operators, functions, references, and substitution templates.
|
|
32439
|
+
* **Examples**
|
|
32440
|
+
* + For literal values, the expressions must contain single quotes. For example, the value for the ``integerValue`` parameter can be ``'100'``.
|
|
32441
|
+
* + For references, you must specify either variables or parameters. For example, the value for the ``booleanValue`` parameter can be ``$variable.offline``.
|
|
32442
|
+
* + 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.
|
|
32443
|
+
* In the following example, the value for the ``doubleValue`` parameter uses a substitution template.
|
|
32444
|
+
* ``'${$input.TemperatureInput.sensorData.temperature * 6 / 5 + 32}'``
|
|
32445
|
+
*
|
|
32446
|
+
* For more information, see [Expressions](https://docs.aws.amazon.com/iotevents/latest/developerguide/iotevents-expressions.html) in the *Developer Guide*.
|
|
32447
|
+
* 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*.
|
|
32351
32448
|
*/
|
|
32352
32449
|
interface AlarmModelAssetPropertyVariantArgs {
|
|
32353
32450
|
/**
|
|
32354
|
-
* The asset property value is a Boolean value that must be
|
|
32451
|
+
* 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.
|
|
32355
32452
|
*/
|
|
32356
32453
|
booleanValue?: pulumi.Input<string>;
|
|
32357
32454
|
/**
|
|
32358
|
-
* The asset property value is a double. You
|
|
32455
|
+
* The asset property value is a double. You must use an expression, and the evaluated result should be a double.
|
|
32359
32456
|
*/
|
|
32360
32457
|
doubleValue?: pulumi.Input<string>;
|
|
32361
32458
|
/**
|
|
32362
|
-
* The asset property value is an integer. You
|
|
32459
|
+
* The asset property value is an integer. You must use an expression, and the evaluated result should be an integer.
|
|
32363
32460
|
*/
|
|
32364
32461
|
integerValue?: pulumi.Input<string>;
|
|
32365
32462
|
/**
|
|
32366
|
-
* The asset property value is a string. You
|
|
32463
|
+
* The asset property value is a string. You must use an expression, and the evaluated result should be a string.
|
|
32367
32464
|
*/
|
|
32368
32465
|
stringValue?: pulumi.Input<string>;
|
|
32369
32466
|
}
|
|
32370
32467
|
/**
|
|
32371
|
-
* Defines an action to write to the Amazon DynamoDB table that you created. The default action payload contains all
|
|
32468
|
+
* 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.
|
|
32469
|
+
* You must use expressions for all parameters in ``DynamoDBv2Action``. The expressions accept literals, operators, functions, references, and substitution templates.
|
|
32470
|
+
* **Examples**
|
|
32471
|
+
* + For literal values, the expressions must contain single quotes. For example, the value for the ``tableName`` parameter can be ``'GreenhouseTemperatureTable'``.
|
|
32472
|
+
* + For references, you must specify either variables or input values. For example, the value for the ``tableName`` parameter can be ``$variable.ddbtableName``.
|
|
32473
|
+
* + 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.
|
|
32474
|
+
* In the following example, the value for the ``contentExpression`` parameter in ``Payload`` uses a substitution template.
|
|
32475
|
+
* ``'{\"sensorID\": \"${$input.GreenhouseInput.sensor_id}\", \"temperature\": \"${$input.GreenhouseInput.temperature * 9 / 5 + 32}\"}'``
|
|
32476
|
+
* + For a string concatenation, you must use ``+``. A string concatenation can also contain a combination of literals, operators, functions, references, and substitution templates.
|
|
32477
|
+
* In the following example, the value for the ``tableName`` parameter uses a string concatenation.
|
|
32478
|
+
* ``'GreenhouseTemperatureTable ' + $input.GreenhouseInput.date``
|
|
32372
32479
|
*
|
|
32373
|
-
*
|
|
32480
|
+
* For more information, see [Expressions](https://docs.aws.amazon.com/iotevents/latest/developerguide/iotevents-expressions.html) in the *Developer Guide*.
|
|
32481
|
+
* The value for the ``type`` parameter in ``Payload`` must be ``JSON``.
|
|
32374
32482
|
*/
|
|
32375
32483
|
interface AlarmModelDynamoDBv2Args {
|
|
32484
|
+
/**
|
|
32485
|
+
* Information needed to configure the payload.
|
|
32486
|
+
* 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``.
|
|
32487
|
+
*/
|
|
32376
32488
|
payload?: pulumi.Input<inputs.iotevents.AlarmModelPayloadArgs>;
|
|
32377
32489
|
/**
|
|
32378
32490
|
* The name of the DynamoDB table.
|
|
@@ -32380,21 +32492,32 @@ export declare namespace iotevents {
|
|
|
32380
32492
|
tableName: pulumi.Input<string>;
|
|
32381
32493
|
}
|
|
32382
32494
|
/**
|
|
32383
|
-
*
|
|
32495
|
+
* 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.
|
|
32496
|
+
* You must use expressions for all parameters in ``DynamoDBAction``. The expressions accept literals, operators, functions, references, and substitution templates.
|
|
32497
|
+
* **Examples**
|
|
32498
|
+
* + For literal values, the expressions must contain single quotes. For example, the value for the ``hashKeyType`` parameter can be ``'STRING'``.
|
|
32499
|
+
* + For references, you must specify either variables or input values. For example, the value for the ``hashKeyField`` parameter can be ``$input.GreenhouseInput.name``.
|
|
32500
|
+
* + 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.
|
|
32501
|
+
* In the following example, the value for the ``hashKeyValue`` parameter uses a substitution template.
|
|
32502
|
+
* ``'${$input.GreenhouseInput.temperature * 6 / 5 + 32} in Fahrenheit'``
|
|
32503
|
+
* + For a string concatenation, you must use ``+``. A string concatenation can also contain a combination of literals, operators, functions, references, and substitution templates.
|
|
32504
|
+
* In the following example, the value for the ``tableName`` parameter uses a string concatenation.
|
|
32505
|
+
* ``'GreenhouseTemperatureTable ' + $input.GreenhouseInput.date``
|
|
32506
|
+
*
|
|
32507
|
+
* For more information, see [Expressions](https://docs.aws.amazon.com/iotevents/latest/developerguide/iotevents-expressions.html) in the *Developer Guide*.
|
|
32508
|
+
* 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``.
|
|
32384
32509
|
*/
|
|
32385
32510
|
interface AlarmModelDynamoDbArgs {
|
|
32386
32511
|
/**
|
|
32387
|
-
* The name of the hash key (also called the partition key).
|
|
32512
|
+
* The name of the hash key (also called the partition key). The ``hashKeyField`` value must match the partition key of the target DynamoDB table.
|
|
32388
32513
|
*/
|
|
32389
32514
|
hashKeyField: pulumi.Input<string>;
|
|
32390
32515
|
/**
|
|
32391
32516
|
* The data type for the hash key (also called the partition key). You can specify the following values:
|
|
32517
|
+
* + ``'STRING'`` - The hash key is a string.
|
|
32518
|
+
* + ``'NUMBER'`` - The hash key is a number.
|
|
32392
32519
|
*
|
|
32393
|
-
*
|
|
32394
|
-
*
|
|
32395
|
-
* * `NUMBER` - The hash key is a number.
|
|
32396
|
-
*
|
|
32397
|
-
* If you don't specify `hashKeyType`, the default value is `STRING`.
|
|
32520
|
+
* If you don't specify ``hashKeyType``, the default value is ``'STRING'``.
|
|
32398
32521
|
*/
|
|
32399
32522
|
hashKeyType?: pulumi.Input<string>;
|
|
32400
32523
|
/**
|
|
@@ -32403,35 +32526,33 @@ export declare namespace iotevents {
|
|
|
32403
32526
|
hashKeyValue: pulumi.Input<string>;
|
|
32404
32527
|
/**
|
|
32405
32528
|
* The type of operation to perform. You can specify the following values:
|
|
32529
|
+
* + ``'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.
|
|
32530
|
+
* + ``'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.
|
|
32531
|
+
* + ``'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.
|
|
32406
32532
|
*
|
|
32407
|
-
*
|
|
32408
|
-
*
|
|
32409
|
-
* * `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.
|
|
32410
|
-
*
|
|
32411
|
-
* * `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.
|
|
32412
|
-
*
|
|
32413
|
-
* If you don't specify this parameter, AWS IoT Events triggers the `INSERT` operation.
|
|
32533
|
+
* If you don't specify this parameter, ITE triggers the ``'INSERT'`` operation.
|
|
32414
32534
|
*/
|
|
32415
32535
|
operation?: pulumi.Input<string>;
|
|
32536
|
+
/**
|
|
32537
|
+
* Information needed to configure the payload.
|
|
32538
|
+
* 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``.
|
|
32539
|
+
*/
|
|
32416
32540
|
payload?: pulumi.Input<inputs.iotevents.AlarmModelPayloadArgs>;
|
|
32417
32541
|
/**
|
|
32418
32542
|
* The name of the DynamoDB column that receives the action payload.
|
|
32419
|
-
*
|
|
32420
|
-
* If you don't specify this parameter, the name of the DynamoDB column is `payload`.
|
|
32543
|
+
* If you don't specify this parameter, the name of the DynamoDB column is ``payload``.
|
|
32421
32544
|
*/
|
|
32422
32545
|
payloadField?: pulumi.Input<string>;
|
|
32423
32546
|
/**
|
|
32424
|
-
* The name of the range key (also called the sort key).
|
|
32547
|
+
* The name of the range key (also called the sort key). The ``rangeKeyField`` value must match the sort key of the target DynamoDB table.
|
|
32425
32548
|
*/
|
|
32426
32549
|
rangeKeyField?: pulumi.Input<string>;
|
|
32427
32550
|
/**
|
|
32428
32551
|
* The data type for the range key (also called the sort key), You can specify the following values:
|
|
32552
|
+
* + ``'STRING'`` - The range key is a string.
|
|
32553
|
+
* + ``'NUMBER'`` - The range key is number.
|
|
32429
32554
|
*
|
|
32430
|
-
*
|
|
32431
|
-
*
|
|
32432
|
-
* * `NUMBER` - The range key is number.
|
|
32433
|
-
*
|
|
32434
|
-
* If you don't specify `rangeKeyField`, the default value is `STRING`.
|
|
32555
|
+
* If you don't specify ``rangeKeyField``, the default value is ``'STRING'``.
|
|
32435
32556
|
*/
|
|
32436
32557
|
rangeKeyType?: pulumi.Input<string>;
|
|
32437
32558
|
/**
|
|
@@ -32439,18 +32560,21 @@ export declare namespace iotevents {
|
|
|
32439
32560
|
*/
|
|
32440
32561
|
rangeKeyValue?: pulumi.Input<string>;
|
|
32441
32562
|
/**
|
|
32442
|
-
* The name of the DynamoDB table.
|
|
32563
|
+
* The name of the DynamoDB table. The ``tableName`` value must match the table name of the target DynamoDB table.
|
|
32443
32564
|
*/
|
|
32444
32565
|
tableName: pulumi.Input<string>;
|
|
32445
32566
|
}
|
|
32446
32567
|
/**
|
|
32447
|
-
* Sends information about the
|
|
32568
|
+
* Sends information about the detector model instance and the event that triggered the action to an Amazon Kinesis Data Firehose delivery stream.
|
|
32448
32569
|
*/
|
|
32449
32570
|
interface AlarmModelFirehoseArgs {
|
|
32450
32571
|
/**
|
|
32451
32572
|
* The name of the Kinesis Data Firehose delivery stream where the data is written.
|
|
32452
32573
|
*/
|
|
32453
32574
|
deliveryStreamName: pulumi.Input<string>;
|
|
32575
|
+
/**
|
|
32576
|
+
* You can configure the action payload when you send a message to an Amazon Data Firehose delivery stream.
|
|
32577
|
+
*/
|
|
32454
32578
|
payload?: pulumi.Input<inputs.iotevents.AlarmModelPayloadArgs>;
|
|
32455
32579
|
/**
|
|
32456
32580
|
* 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).
|
|
@@ -32462,71 +32586,95 @@ export declare namespace iotevents {
|
|
|
32462
32586
|
*/
|
|
32463
32587
|
interface AlarmModelInitializationConfigurationArgs {
|
|
32464
32588
|
/**
|
|
32465
|
-
* The value must be TRUE or FALSE
|
|
32589
|
+
* 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``.
|
|
32466
32590
|
*/
|
|
32467
32591
|
disabledOnInitialization: pulumi.Input<boolean>;
|
|
32468
32592
|
}
|
|
32469
32593
|
/**
|
|
32470
|
-
* Sends an
|
|
32594
|
+
* Sends an ITE input, passing in information about the detector model instance and the event that triggered the action.
|
|
32471
32595
|
*/
|
|
32472
32596
|
interface AlarmModelIotEventsArgs {
|
|
32473
32597
|
/**
|
|
32474
|
-
* The name of the
|
|
32598
|
+
* The name of the ITE input where the data is sent.
|
|
32475
32599
|
*/
|
|
32476
32600
|
inputName: pulumi.Input<string>;
|
|
32601
|
+
/**
|
|
32602
|
+
* You can configure the action payload when you send a message to an ITE input.
|
|
32603
|
+
*/
|
|
32477
32604
|
payload?: pulumi.Input<inputs.iotevents.AlarmModelPayloadArgs>;
|
|
32478
32605
|
}
|
|
32479
32606
|
/**
|
|
32480
|
-
* Sends information about the
|
|
32607
|
+
* Sends information about the detector model instance and the event that triggered the action to a specified asset property in ITSW.
|
|
32608
|
+
* You must use expressions for all parameters in ``IotSiteWiseAction``. The expressions accept literals, operators, functions, references, and substitutions templates.
|
|
32609
|
+
* **Examples**
|
|
32610
|
+
* + 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'``.
|
|
32611
|
+
* + For references, you must specify either variables or input values. For example, the value for the ``assetId`` parameter can be ``$input.TurbineInput.assetId1``.
|
|
32612
|
+
* + 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.
|
|
32613
|
+
* In the following example, the value for the ``propertyAlias`` parameter uses a substitution template.
|
|
32614
|
+
* ``'company/windfarm/${$input.TemperatureInput.sensorData.windfarmID}/turbine/ ${$input.TemperatureInput.sensorData.turbineID}/temperature'``
|
|
32615
|
+
*
|
|
32616
|
+
* You must specify either ``propertyAlias`` or both ``assetId`` and ``propertyId`` to identify the target asset property in ITSW.
|
|
32617
|
+
* For more information, see [Expressions](https://docs.aws.amazon.com/iotevents/latest/developerguide/iotevents-expressions.html) in the *Developer Guide*.
|
|
32481
32618
|
*/
|
|
32482
32619
|
interface AlarmModelIotSiteWiseArgs {
|
|
32483
32620
|
/**
|
|
32484
|
-
* The ID of the asset that has the specified property.
|
|
32621
|
+
* The ID of the asset that has the specified property.
|
|
32485
32622
|
*/
|
|
32486
32623
|
assetId?: pulumi.Input<string>;
|
|
32487
32624
|
/**
|
|
32488
|
-
* 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.
|
|
32625
|
+
* 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.
|
|
32489
32626
|
*/
|
|
32490
32627
|
entryId?: pulumi.Input<string>;
|
|
32491
32628
|
/**
|
|
32492
|
-
* The alias of the asset property.
|
|
32629
|
+
* The alias of the asset property.
|
|
32493
32630
|
*/
|
|
32494
32631
|
propertyAlias?: pulumi.Input<string>;
|
|
32495
32632
|
/**
|
|
32496
|
-
* The ID of the asset property.
|
|
32633
|
+
* The ID of the asset property.
|
|
32497
32634
|
*/
|
|
32498
32635
|
propertyId?: pulumi.Input<string>;
|
|
32636
|
+
/**
|
|
32637
|
+
* The value to send to the asset property. This value contains timestamp, quality, and value (TQV) information.
|
|
32638
|
+
*/
|
|
32499
32639
|
propertyValue?: pulumi.Input<inputs.iotevents.AlarmModelAssetPropertyValueArgs>;
|
|
32500
32640
|
}
|
|
32501
32641
|
/**
|
|
32502
|
-
* Information required to publish the MQTT message through the
|
|
32642
|
+
* Information required to publish the MQTT message through the IoT message broker.
|
|
32503
32643
|
*/
|
|
32504
32644
|
interface AlarmModelIotTopicPublishArgs {
|
|
32505
32645
|
/**
|
|
32506
|
-
* The MQTT topic of the message. You can use a string expression that includes variables (
|
|
32646
|
+
* 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.
|
|
32507
32647
|
*/
|
|
32508
32648
|
mqttTopic: pulumi.Input<string>;
|
|
32649
|
+
/**
|
|
32650
|
+
* You can configure the action payload when you publish a message to an IoTCore topic.
|
|
32651
|
+
*/
|
|
32509
32652
|
payload?: pulumi.Input<inputs.iotevents.AlarmModelPayloadArgs>;
|
|
32510
32653
|
}
|
|
32654
|
+
/**
|
|
32655
|
+
* Calls a Lambda function, passing in information about the detector model instance and the event that triggered the action.
|
|
32656
|
+
*/
|
|
32511
32657
|
interface AlarmModelLambdaArgs {
|
|
32512
32658
|
/**
|
|
32513
32659
|
* The ARN of the Lambda function that is executed.
|
|
32514
32660
|
*/
|
|
32515
32661
|
functionArn: pulumi.Input<string>;
|
|
32662
|
+
/**
|
|
32663
|
+
* You can configure the action payload when you send a message to a Lambda function.
|
|
32664
|
+
*/
|
|
32516
32665
|
payload?: pulumi.Input<inputs.iotevents.AlarmModelPayloadArgs>;
|
|
32517
32666
|
}
|
|
32518
32667
|
/**
|
|
32519
32668
|
* Information needed to configure the payload.
|
|
32520
|
-
*
|
|
32521
|
-
* 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`.
|
|
32669
|
+
* 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``.
|
|
32522
32670
|
*/
|
|
32523
32671
|
interface AlarmModelPayloadArgs {
|
|
32524
32672
|
/**
|
|
32525
|
-
* The content of the payload. You can use a string expression that includes quoted strings (
|
|
32673
|
+
* 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.
|
|
32526
32674
|
*/
|
|
32527
32675
|
contentExpression: pulumi.Input<string>;
|
|
32528
32676
|
/**
|
|
32529
|
-
* The value of the payload type can be either
|
|
32677
|
+
* The value of the payload type can be either ``STRING`` or ``JSON``.
|
|
32530
32678
|
*/
|
|
32531
32679
|
type: pulumi.Input<string>;
|
|
32532
32680
|
}
|
|
@@ -32539,11 +32687,11 @@ export declare namespace iotevents {
|
|
|
32539
32687
|
*/
|
|
32540
32688
|
comparisonOperator: pulumi.Input<enums.iotevents.AlarmModelSimpleRuleComparisonOperator>;
|
|
32541
32689
|
/**
|
|
32542
|
-
* The value on the left side of the comparison operator. You can specify an
|
|
32690
|
+
* The value on the left side of the comparison operator. You can specify an ITE input attribute as an input property.
|
|
32543
32691
|
*/
|
|
32544
32692
|
inputProperty: pulumi.Input<string>;
|
|
32545
32693
|
/**
|
|
32546
|
-
* The value on the right side of the comparison operator. You can enter a number or specify an
|
|
32694
|
+
* The value on the right side of the comparison operator. You can enter a number or specify an ITE input attribute.
|
|
32547
32695
|
*/
|
|
32548
32696
|
threshold: pulumi.Input<string>;
|
|
32549
32697
|
}
|
|
@@ -32551,25 +32699,34 @@ export declare namespace iotevents {
|
|
|
32551
32699
|
* Information required to publish the Amazon SNS message.
|
|
32552
32700
|
*/
|
|
32553
32701
|
interface AlarmModelSnsArgs {
|
|
32702
|
+
/**
|
|
32703
|
+
* You can configure the action payload when you send a message as an Amazon SNS push notification.
|
|
32704
|
+
*/
|
|
32554
32705
|
payload?: pulumi.Input<inputs.iotevents.AlarmModelPayloadArgs>;
|
|
32555
32706
|
/**
|
|
32556
32707
|
* The ARN of the Amazon SNS target where the message is sent.
|
|
32557
32708
|
*/
|
|
32558
32709
|
targetArn: pulumi.Input<string>;
|
|
32559
32710
|
}
|
|
32711
|
+
/**
|
|
32712
|
+
* Sends information about the detector model instance and the event that triggered the action to an Amazon SQS queue.
|
|
32713
|
+
*/
|
|
32560
32714
|
interface AlarmModelSqsArgs {
|
|
32715
|
+
/**
|
|
32716
|
+
* You can configure the action payload when you send a message to an Amazon SQS queue.
|
|
32717
|
+
*/
|
|
32561
32718
|
payload?: pulumi.Input<inputs.iotevents.AlarmModelPayloadArgs>;
|
|
32562
32719
|
/**
|
|
32563
32720
|
* The URL of the SQS queue where the data is written.
|
|
32564
32721
|
*/
|
|
32565
32722
|
queueUrl: pulumi.Input<string>;
|
|
32566
32723
|
/**
|
|
32567
|
-
* Set this to
|
|
32724
|
+
* 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.
|
|
32568
32725
|
*/
|
|
32569
32726
|
useBase64?: pulumi.Input<boolean>;
|
|
32570
32727
|
}
|
|
32571
32728
|
/**
|
|
32572
|
-
*
|
|
32729
|
+
* An action to be performed when the ``condition`` is TRUE.
|
|
32573
32730
|
*/
|
|
32574
32731
|
interface DetectorModelActionArgs {
|
|
32575
32732
|
/**
|
|
@@ -32577,11 +32734,11 @@ export declare namespace iotevents {
|
|
|
32577
32734
|
*/
|
|
32578
32735
|
clearTimer?: pulumi.Input<inputs.iotevents.DetectorModelClearTimerArgs>;
|
|
32579
32736
|
/**
|
|
32580
|
-
* Writes to the DynamoDB table that you created. The default action payload contains all attribute-value pairs that have 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)
|
|
32737
|
+
* Writes to the DynamoDB table that you created. The default action payload contains all attribute-value pairs that have 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. For more information, see [Actions](https://docs.aws.amazon.com/iotevents/latest/developerguide/iotevents-event-actions.html) in *Developer Guide*.
|
|
32581
32738
|
*/
|
|
32582
32739
|
dynamoDBv2?: pulumi.Input<inputs.iotevents.DetectorModelDynamoDBv2Args>;
|
|
32583
32740
|
/**
|
|
32584
|
-
* Writes to the DynamoDB table that you created. The default action payload contains all attribute-value pairs that have 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)
|
|
32741
|
+
* Writes to the DynamoDB table that you created. The default action payload contains all attribute-value pairs that have 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. For more information, see [Actions](https://docs.aws.amazon.com/iotevents/latest/developerguide/iotevents-event-actions.html) in *Developer Guide*.
|
|
32585
32742
|
*/
|
|
32586
32743
|
dynamoDb?: pulumi.Input<inputs.iotevents.DetectorModelDynamoDbArgs>;
|
|
32587
32744
|
/**
|
|
@@ -32589,15 +32746,15 @@ export declare namespace iotevents {
|
|
|
32589
32746
|
*/
|
|
32590
32747
|
firehose?: pulumi.Input<inputs.iotevents.DetectorModelFirehoseArgs>;
|
|
32591
32748
|
/**
|
|
32592
|
-
* Sends
|
|
32749
|
+
* Sends ITE input, which passes information about the detector model instance and the event that triggered the action.
|
|
32593
32750
|
*/
|
|
32594
32751
|
iotEvents?: pulumi.Input<inputs.iotevents.DetectorModelIotEventsArgs>;
|
|
32595
32752
|
/**
|
|
32596
|
-
* Sends information about the detector model instance and the event that triggered the action to an asset property in
|
|
32753
|
+
* Sends information about the detector model instance and the event that triggered the action to an asset property in ITSW .
|
|
32597
32754
|
*/
|
|
32598
32755
|
iotSiteWise?: pulumi.Input<inputs.iotevents.DetectorModelIotSiteWiseArgs>;
|
|
32599
32756
|
/**
|
|
32600
|
-
* Publishes an MQTT message with the given topic to the
|
|
32757
|
+
* Publishes an MQTT message with the given topic to the IoT message broker.
|
|
32601
32758
|
*/
|
|
32602
32759
|
iotTopicPublish?: pulumi.Input<inputs.iotevents.DetectorModelIotTopicPublishArgs>;
|
|
32603
32760
|
/**
|
|
@@ -32626,24 +32783,39 @@ export declare namespace iotevents {
|
|
|
32626
32783
|
sqs?: pulumi.Input<inputs.iotevents.DetectorModelSqsArgs>;
|
|
32627
32784
|
}
|
|
32628
32785
|
/**
|
|
32629
|
-
* 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 *
|
|
32786
|
+
* 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*.
|
|
32787
|
+
* You must use expressions for all parameters in ``AssetPropertyTimestamp``. The expressions accept literals, operators, functions, references, and substitution templates.
|
|
32788
|
+
* **Examples**
|
|
32789
|
+
* + For literal values, the expressions must contain single quotes. For example, the value for the ``timeInSeconds`` parameter can be ``'1586400675'``.
|
|
32790
|
+
* + For references, you must specify either variables or input values. For example, the value for the ``offsetInNanos`` parameter can be ``$variable.time``.
|
|
32791
|
+
* + 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.
|
|
32792
|
+
* In the following example, the value for the ``timeInSeconds`` parameter uses a substitution template.
|
|
32793
|
+
* ``'${$input.TemperatureInput.sensorData.timestamp / 1000}'``
|
|
32794
|
+
*
|
|
32795
|
+
* For more information, see [Expressions](https://docs.aws.amazon.com/iotevents/latest/developerguide/iotevents-expressions.html) in the *Developer Guide*.
|
|
32630
32796
|
*/
|
|
32631
32797
|
interface DetectorModelAssetPropertyTimestampArgs {
|
|
32632
32798
|
/**
|
|
32633
|
-
* The
|
|
32799
|
+
* The nanosecond offset converted from ``timeInSeconds``. The valid range is between 0-999999999.
|
|
32634
32800
|
*/
|
|
32635
32801
|
offsetInNanos?: pulumi.Input<string>;
|
|
32636
32802
|
/**
|
|
32637
|
-
* The
|
|
32803
|
+
* The timestamp, in seconds, in the Unix epoch format. The valid range is between 1-31556889864403199.
|
|
32638
32804
|
*/
|
|
32639
32805
|
timeInSeconds: pulumi.Input<string>;
|
|
32640
32806
|
}
|
|
32641
32807
|
/**
|
|
32642
|
-
* 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 *
|
|
32808
|
+
* 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*.
|
|
32809
|
+
* You must use expressions for all parameters in ``AssetPropertyValue``. The expressions accept literals, operators, functions, references, and substitution templates.
|
|
32810
|
+
* **Examples**
|
|
32811
|
+
* + For literal values, the expressions must contain single quotes. For example, the value for the ``quality`` parameter can be ``'GOOD'``.
|
|
32812
|
+
* + For references, you must specify either variables or input values. For example, the value for the ``quality`` parameter can be ``$input.TemperatureInput.sensorData.quality``.
|
|
32813
|
+
*
|
|
32814
|
+
* For more information, see [Expressions](https://docs.aws.amazon.com/iotevents/latest/developerguide/iotevents-expressions.html) in the *Developer Guide*.
|
|
32643
32815
|
*/
|
|
32644
32816
|
interface DetectorModelAssetPropertyValueArgs {
|
|
32645
32817
|
/**
|
|
32646
|
-
* The quality of the asset property value. The value must be
|
|
32818
|
+
* The quality of the asset property value. The value must be ``'GOOD'``, ``'BAD'``, or ``'UNCERTAIN'``.
|
|
32647
32819
|
*/
|
|
32648
32820
|
quality?: pulumi.Input<string>;
|
|
32649
32821
|
/**
|
|
@@ -32656,23 +32828,33 @@ export declare namespace iotevents {
|
|
|
32656
32828
|
value: pulumi.Input<inputs.iotevents.DetectorModelAssetPropertyVariantArgs>;
|
|
32657
32829
|
}
|
|
32658
32830
|
/**
|
|
32659
|
-
* 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 *
|
|
32831
|
+
* 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*.
|
|
32832
|
+
* You must use expressions for all parameters in ``AssetPropertyVariant``. The expressions accept literals, operators, functions, references, and substitution templates.
|
|
32833
|
+
* **Examples**
|
|
32834
|
+
* + For literal values, the expressions must contain single quotes. For example, the value for the ``integerValue`` parameter can be ``'100'``.
|
|
32835
|
+
* + For references, you must specify either variables or parameters. For example, the value for the ``booleanValue`` parameter can be ``$variable.offline``.
|
|
32836
|
+
* + 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.
|
|
32837
|
+
* In the following example, the value for the ``doubleValue`` parameter uses a substitution template.
|
|
32838
|
+
* ``'${$input.TemperatureInput.sensorData.temperature * 6 / 5 + 32}'``
|
|
32839
|
+
*
|
|
32840
|
+
* For more information, see [Expressions](https://docs.aws.amazon.com/iotevents/latest/developerguide/iotevents-expressions.html) in the *Developer Guide*.
|
|
32841
|
+
* 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*.
|
|
32660
32842
|
*/
|
|
32661
32843
|
interface DetectorModelAssetPropertyVariantArgs {
|
|
32662
32844
|
/**
|
|
32663
|
-
* The asset property value is a Boolean value that must be
|
|
32845
|
+
* 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.
|
|
32664
32846
|
*/
|
|
32665
32847
|
booleanValue?: pulumi.Input<string>;
|
|
32666
32848
|
/**
|
|
32667
|
-
* The asset property value is a double. You
|
|
32849
|
+
* The asset property value is a double. You must use an expression, and the evaluated result should be a double.
|
|
32668
32850
|
*/
|
|
32669
32851
|
doubleValue?: pulumi.Input<string>;
|
|
32670
32852
|
/**
|
|
32671
|
-
* The asset property value is an integer. You
|
|
32853
|
+
* The asset property value is an integer. You must use an expression, and the evaluated result should be an integer.
|
|
32672
32854
|
*/
|
|
32673
32855
|
integerValue?: pulumi.Input<string>;
|
|
32674
32856
|
/**
|
|
32675
|
-
* The asset property value is a string. You
|
|
32857
|
+
* The asset property value is a string. You must use an expression, and the evaluated result should be a string.
|
|
32676
32858
|
*/
|
|
32677
32859
|
stringValue?: pulumi.Input<string>;
|
|
32678
32860
|
}
|
|
@@ -32699,15 +32881,25 @@ export declare namespace iotevents {
|
|
|
32699
32881
|
states: pulumi.Input<pulumi.Input<inputs.iotevents.DetectorModelStateArgs>[]>;
|
|
32700
32882
|
}
|
|
32701
32883
|
/**
|
|
32702
|
-
* Defines an action to write to the Amazon DynamoDB table that you created. The default action payload contains all
|
|
32884
|
+
* 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.
|
|
32885
|
+
* You must use expressions for all parameters in ``DynamoDBv2Action``. The expressions accept literals, operators, functions, references, and substitution templates.
|
|
32886
|
+
* **Examples**
|
|
32887
|
+
* + For literal values, the expressions must contain single quotes. For example, the value for the ``tableName`` parameter can be ``'GreenhouseTemperatureTable'``.
|
|
32888
|
+
* + For references, you must specify either variables or input values. For example, the value for the ``tableName`` parameter can be ``$variable.ddbtableName``.
|
|
32889
|
+
* + 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.
|
|
32890
|
+
* In the following example, the value for the ``contentExpression`` parameter in ``Payload`` uses a substitution template.
|
|
32891
|
+
* ``'{\"sensorID\": \"${$input.GreenhouseInput.sensor_id}\", \"temperature\": \"${$input.GreenhouseInput.temperature * 9 / 5 + 32}\"}'``
|
|
32892
|
+
* + For a string concatenation, you must use ``+``. A string concatenation can also contain a combination of literals, operators, functions, references, and substitution templates.
|
|
32893
|
+
* In the following example, the value for the ``tableName`` parameter uses a string concatenation.
|
|
32894
|
+
* ``'GreenhouseTemperatureTable ' + $input.GreenhouseInput.date``
|
|
32703
32895
|
*
|
|
32704
|
-
*
|
|
32896
|
+
* For more information, see [Expressions](https://docs.aws.amazon.com/iotevents/latest/developerguide/iotevents-expressions.html) in the *Developer Guide*.
|
|
32897
|
+
* The value for the ``type`` parameter in ``Payload`` must be ``JSON``.
|
|
32705
32898
|
*/
|
|
32706
32899
|
interface DetectorModelDynamoDBv2Args {
|
|
32707
32900
|
/**
|
|
32708
32901
|
* Information needed to configure the payload.
|
|
32709
|
-
*
|
|
32710
|
-
* 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 detector model instance and the event triggered the action. To configure the action payload, you can use `contentExpression` .
|
|
32902
|
+
* 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``.
|
|
32711
32903
|
*/
|
|
32712
32904
|
payload?: pulumi.Input<inputs.iotevents.DetectorModelPayloadArgs>;
|
|
32713
32905
|
/**
|
|
@@ -32716,21 +32908,32 @@ export declare namespace iotevents {
|
|
|
32716
32908
|
tableName: pulumi.Input<string>;
|
|
32717
32909
|
}
|
|
32718
32910
|
/**
|
|
32719
|
-
*
|
|
32911
|
+
* 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.
|
|
32912
|
+
* You must use expressions for all parameters in ``DynamoDBAction``. The expressions accept literals, operators, functions, references, and substitution templates.
|
|
32913
|
+
* **Examples**
|
|
32914
|
+
* + For literal values, the expressions must contain single quotes. For example, the value for the ``hashKeyType`` parameter can be ``'STRING'``.
|
|
32915
|
+
* + For references, you must specify either variables or input values. For example, the value for the ``hashKeyField`` parameter can be ``$input.GreenhouseInput.name``.
|
|
32916
|
+
* + 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.
|
|
32917
|
+
* In the following example, the value for the ``hashKeyValue`` parameter uses a substitution template.
|
|
32918
|
+
* ``'${$input.GreenhouseInput.temperature * 6 / 5 + 32} in Fahrenheit'``
|
|
32919
|
+
* + For a string concatenation, you must use ``+``. A string concatenation can also contain a combination of literals, operators, functions, references, and substitution templates.
|
|
32920
|
+
* In the following example, the value for the ``tableName`` parameter uses a string concatenation.
|
|
32921
|
+
* ``'GreenhouseTemperatureTable ' + $input.GreenhouseInput.date``
|
|
32922
|
+
*
|
|
32923
|
+
* For more information, see [Expressions](https://docs.aws.amazon.com/iotevents/latest/developerguide/iotevents-expressions.html) in the *Developer Guide*.
|
|
32924
|
+
* 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``.
|
|
32720
32925
|
*/
|
|
32721
32926
|
interface DetectorModelDynamoDbArgs {
|
|
32722
32927
|
/**
|
|
32723
|
-
* The name of the hash key (also called the partition key).
|
|
32928
|
+
* The name of the hash key (also called the partition key). The ``hashKeyField`` value must match the partition key of the target DynamoDB table.
|
|
32724
32929
|
*/
|
|
32725
32930
|
hashKeyField: pulumi.Input<string>;
|
|
32726
32931
|
/**
|
|
32727
32932
|
* The data type for the hash key (also called the partition key). You can specify the following values:
|
|
32933
|
+
* + ``'STRING'`` - The hash key is a string.
|
|
32934
|
+
* + ``'NUMBER'`` - The hash key is a number.
|
|
32728
32935
|
*
|
|
32729
|
-
*
|
|
32730
|
-
*
|
|
32731
|
-
* * `NUMBER` - The hash key is a number.
|
|
32732
|
-
*
|
|
32733
|
-
* If you don't specify `hashKeyType`, the default value is `STRING`.
|
|
32936
|
+
* If you don't specify ``hashKeyType``, the default value is ``'STRING'``.
|
|
32734
32937
|
*/
|
|
32735
32938
|
hashKeyType?: pulumi.Input<string>;
|
|
32736
32939
|
/**
|
|
@@ -32739,40 +32942,33 @@ export declare namespace iotevents {
|
|
|
32739
32942
|
hashKeyValue: pulumi.Input<string>;
|
|
32740
32943
|
/**
|
|
32741
32944
|
* The type of operation to perform. You can specify the following values:
|
|
32945
|
+
* + ``'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.
|
|
32946
|
+
* + ``'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.
|
|
32947
|
+
* + ``'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.
|
|
32742
32948
|
*
|
|
32743
|
-
*
|
|
32744
|
-
*
|
|
32745
|
-
* * `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.
|
|
32746
|
-
*
|
|
32747
|
-
* * `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.
|
|
32748
|
-
*
|
|
32749
|
-
* If you don't specify this parameter, AWS IoT Events triggers the `INSERT` operation.
|
|
32949
|
+
* If you don't specify this parameter, ITE triggers the ``'INSERT'`` operation.
|
|
32750
32950
|
*/
|
|
32751
32951
|
operation?: pulumi.Input<string>;
|
|
32752
32952
|
/**
|
|
32753
32953
|
* Information needed to configure the payload.
|
|
32754
|
-
*
|
|
32755
|
-
* 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 detector model instance and the event triggered the action. To configure the action payload, you can use `contentExpression` .
|
|
32954
|
+
* 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``.
|
|
32756
32955
|
*/
|
|
32757
32956
|
payload?: pulumi.Input<inputs.iotevents.DetectorModelPayloadArgs>;
|
|
32758
32957
|
/**
|
|
32759
32958
|
* The name of the DynamoDB column that receives the action payload.
|
|
32760
|
-
*
|
|
32761
|
-
* If you don't specify this parameter, the name of the DynamoDB column is `payload`.
|
|
32959
|
+
* If you don't specify this parameter, the name of the DynamoDB column is ``payload``.
|
|
32762
32960
|
*/
|
|
32763
32961
|
payloadField?: pulumi.Input<string>;
|
|
32764
32962
|
/**
|
|
32765
|
-
* The name of the range key (also called the sort key).
|
|
32963
|
+
* The name of the range key (also called the sort key). The ``rangeKeyField`` value must match the sort key of the target DynamoDB table.
|
|
32766
32964
|
*/
|
|
32767
32965
|
rangeKeyField?: pulumi.Input<string>;
|
|
32768
32966
|
/**
|
|
32769
32967
|
* The data type for the range key (also called the sort key), You can specify the following values:
|
|
32968
|
+
* + ``'STRING'`` - The range key is a string.
|
|
32969
|
+
* + ``'NUMBER'`` - The range key is number.
|
|
32770
32970
|
*
|
|
32771
|
-
*
|
|
32772
|
-
*
|
|
32773
|
-
* * `NUMBER` - The range key is number.
|
|
32774
|
-
*
|
|
32775
|
-
* If you don't specify `rangeKeyField`, the default value is `STRING`.
|
|
32971
|
+
* If you don't specify ``rangeKeyField``, the default value is ``'STRING'``.
|
|
32776
32972
|
*/
|
|
32777
32973
|
rangeKeyType?: pulumi.Input<string>;
|
|
32778
32974
|
/**
|
|
@@ -32780,12 +32976,12 @@ export declare namespace iotevents {
|
|
|
32780
32976
|
*/
|
|
32781
32977
|
rangeKeyValue?: pulumi.Input<string>;
|
|
32782
32978
|
/**
|
|
32783
|
-
* The name of the DynamoDB table.
|
|
32979
|
+
* The name of the DynamoDB table. The ``tableName`` value must match the table name of the target DynamoDB table.
|
|
32784
32980
|
*/
|
|
32785
32981
|
tableName: pulumi.Input<string>;
|
|
32786
32982
|
}
|
|
32787
32983
|
/**
|
|
32788
|
-
* Specifies the
|
|
32984
|
+
* Specifies the ``actions`` to be performed when the ``condition`` evaluates to TRUE.
|
|
32789
32985
|
*/
|
|
32790
32986
|
interface DetectorModelEventArgs {
|
|
32791
32987
|
/**
|
|
@@ -32793,7 +32989,7 @@ export declare namespace iotevents {
|
|
|
32793
32989
|
*/
|
|
32794
32990
|
actions?: pulumi.Input<pulumi.Input<inputs.iotevents.DetectorModelActionArgs>[]>;
|
|
32795
32991
|
/**
|
|
32796
|
-
* The Boolean expression that, when
|
|
32992
|
+
* Optional. The Boolean expression that, when TRUE, causes the ``actions`` to be performed. If not present, the actions are performed (=TRUE). If the expression result is not a Boolean value, the actions are not performed (=FALSE).
|
|
32797
32993
|
*/
|
|
32798
32994
|
condition?: pulumi.Input<string>;
|
|
32799
32995
|
/**
|
|
@@ -32819,36 +33015,46 @@ export declare namespace iotevents {
|
|
|
32819
33015
|
separator?: pulumi.Input<string>;
|
|
32820
33016
|
}
|
|
32821
33017
|
/**
|
|
32822
|
-
* Sends an
|
|
33018
|
+
* Sends an ITE input, passing in information about the detector model instance and the event that triggered the action.
|
|
32823
33019
|
*/
|
|
32824
33020
|
interface DetectorModelIotEventsArgs {
|
|
32825
33021
|
/**
|
|
32826
|
-
* The name of the
|
|
33022
|
+
* The name of the ITE input where the data is sent.
|
|
32827
33023
|
*/
|
|
32828
33024
|
inputName: pulumi.Input<string>;
|
|
32829
33025
|
/**
|
|
32830
|
-
* You can configure the action payload when you send a message to an
|
|
33026
|
+
* You can configure the action payload when you send a message to an ITE input.
|
|
32831
33027
|
*/
|
|
32832
33028
|
payload?: pulumi.Input<inputs.iotevents.DetectorModelPayloadArgs>;
|
|
32833
33029
|
}
|
|
32834
33030
|
/**
|
|
32835
|
-
* Sends information about the detector model instance and the event that triggered the action to a specified asset property in
|
|
33031
|
+
* Sends information about the detector model instance and the event that triggered the action to a specified asset property in ITSW.
|
|
33032
|
+
* You must use expressions for all parameters in ``IotSiteWiseAction``. The expressions accept literals, operators, functions, references, and substitutions templates.
|
|
33033
|
+
* **Examples**
|
|
33034
|
+
* + 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'``.
|
|
33035
|
+
* + For references, you must specify either variables or input values. For example, the value for the ``assetId`` parameter can be ``$input.TurbineInput.assetId1``.
|
|
33036
|
+
* + 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.
|
|
33037
|
+
* In the following example, the value for the ``propertyAlias`` parameter uses a substitution template.
|
|
33038
|
+
* ``'company/windfarm/${$input.TemperatureInput.sensorData.windfarmID}/turbine/ ${$input.TemperatureInput.sensorData.turbineID}/temperature'``
|
|
33039
|
+
*
|
|
33040
|
+
* You must specify either ``propertyAlias`` or both ``assetId`` and ``propertyId`` to identify the target asset property in ITSW.
|
|
33041
|
+
* For more information, see [Expressions](https://docs.aws.amazon.com/iotevents/latest/developerguide/iotevents-expressions.html) in the *Developer Guide*.
|
|
32836
33042
|
*/
|
|
32837
33043
|
interface DetectorModelIotSiteWiseArgs {
|
|
32838
33044
|
/**
|
|
32839
|
-
* The ID of the asset that has the specified property.
|
|
33045
|
+
* The ID of the asset that has the specified property.
|
|
32840
33046
|
*/
|
|
32841
33047
|
assetId?: pulumi.Input<string>;
|
|
32842
33048
|
/**
|
|
32843
|
-
* 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.
|
|
33049
|
+
* 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.
|
|
32844
33050
|
*/
|
|
32845
33051
|
entryId?: pulumi.Input<string>;
|
|
32846
33052
|
/**
|
|
32847
|
-
* The alias of the asset property.
|
|
33053
|
+
* The alias of the asset property.
|
|
32848
33054
|
*/
|
|
32849
33055
|
propertyAlias?: pulumi.Input<string>;
|
|
32850
33056
|
/**
|
|
32851
|
-
* The ID of the asset property.
|
|
33057
|
+
* The ID of the asset property.
|
|
32852
33058
|
*/
|
|
32853
33059
|
propertyId?: pulumi.Input<string>;
|
|
32854
33060
|
/**
|
|
@@ -32857,18 +33063,21 @@ export declare namespace iotevents {
|
|
|
32857
33063
|
propertyValue: pulumi.Input<inputs.iotevents.DetectorModelAssetPropertyValueArgs>;
|
|
32858
33064
|
}
|
|
32859
33065
|
/**
|
|
32860
|
-
* Information required to publish the MQTT message through the
|
|
33066
|
+
* Information required to publish the MQTT message through the IoT message broker.
|
|
32861
33067
|
*/
|
|
32862
33068
|
interface DetectorModelIotTopicPublishArgs {
|
|
32863
33069
|
/**
|
|
32864
|
-
* The MQTT topic of the message. You can use a string expression that includes variables (
|
|
33070
|
+
* 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.
|
|
32865
33071
|
*/
|
|
32866
33072
|
mqttTopic: pulumi.Input<string>;
|
|
32867
33073
|
/**
|
|
32868
|
-
* You can configure the action payload when you publish a message to an
|
|
33074
|
+
* You can configure the action payload when you publish a message to an IoTCore topic.
|
|
32869
33075
|
*/
|
|
32870
33076
|
payload?: pulumi.Input<inputs.iotevents.DetectorModelPayloadArgs>;
|
|
32871
33077
|
}
|
|
33078
|
+
/**
|
|
33079
|
+
* Calls a Lambda function, passing in information about the detector model instance and the event that triggered the action.
|
|
33080
|
+
*/
|
|
32872
33081
|
interface DetectorModelLambdaArgs {
|
|
32873
33082
|
/**
|
|
32874
33083
|
* The ARN of the Lambda function that is executed.
|
|
@@ -32880,48 +33089,47 @@ export declare namespace iotevents {
|
|
|
32880
33089
|
payload?: pulumi.Input<inputs.iotevents.DetectorModelPayloadArgs>;
|
|
32881
33090
|
}
|
|
32882
33091
|
/**
|
|
32883
|
-
* When entering this state, perform these
|
|
33092
|
+
* When entering this state, perform these ``actions`` if the ``condition`` is TRUE.
|
|
32884
33093
|
*/
|
|
32885
33094
|
interface DetectorModelOnEnterArgs {
|
|
32886
33095
|
/**
|
|
32887
|
-
* Specifies the
|
|
33096
|
+
* Specifies the actions that are performed when the state is entered and the ``condition`` is ``TRUE``.
|
|
32888
33097
|
*/
|
|
32889
33098
|
events?: pulumi.Input<pulumi.Input<inputs.iotevents.DetectorModelEventArgs>[]>;
|
|
32890
33099
|
}
|
|
32891
33100
|
/**
|
|
32892
|
-
* When exiting this state, perform these
|
|
33101
|
+
* When exiting this state, perform these ``actions`` if the specified ``condition`` is ``TRUE``.
|
|
32893
33102
|
*/
|
|
32894
33103
|
interface DetectorModelOnExitArgs {
|
|
32895
33104
|
/**
|
|
32896
|
-
* Specifies the
|
|
33105
|
+
* Specifies the ``actions`` that are performed when the state is exited and the ``condition`` is ``TRUE``.
|
|
32897
33106
|
*/
|
|
32898
33107
|
events?: pulumi.Input<pulumi.Input<inputs.iotevents.DetectorModelEventArgs>[]>;
|
|
32899
33108
|
}
|
|
32900
33109
|
/**
|
|
32901
|
-
*
|
|
33110
|
+
* Specifies the actions performed when the ``condition`` evaluates to TRUE.
|
|
32902
33111
|
*/
|
|
32903
33112
|
interface DetectorModelOnInputArgs {
|
|
32904
33113
|
/**
|
|
32905
|
-
* Specifies the
|
|
33114
|
+
* Specifies the actions performed when the ``condition`` evaluates to TRUE.
|
|
32906
33115
|
*/
|
|
32907
33116
|
events?: pulumi.Input<pulumi.Input<inputs.iotevents.DetectorModelEventArgs>[]>;
|
|
32908
33117
|
/**
|
|
32909
|
-
* Specifies the
|
|
33118
|
+
* Specifies the actions performed, and the next state entered, when a ``condition`` evaluates to TRUE.
|
|
32910
33119
|
*/
|
|
32911
33120
|
transitionEvents?: pulumi.Input<pulumi.Input<inputs.iotevents.DetectorModelTransitionEventArgs>[]>;
|
|
32912
33121
|
}
|
|
32913
33122
|
/**
|
|
32914
33123
|
* Information needed to configure the payload.
|
|
32915
|
-
*
|
|
32916
|
-
* 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 detector model instance and the event triggered the action. To configure the action payload, you can use `contentExpression`.
|
|
33124
|
+
* 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``.
|
|
32917
33125
|
*/
|
|
32918
33126
|
interface DetectorModelPayloadArgs {
|
|
32919
33127
|
/**
|
|
32920
|
-
* The content of the payload. You can use a string expression that includes quoted strings (
|
|
33128
|
+
* 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.
|
|
32921
33129
|
*/
|
|
32922
33130
|
contentExpression: pulumi.Input<string>;
|
|
32923
33131
|
/**
|
|
32924
|
-
* The value of the payload type can be either
|
|
33132
|
+
* The value of the payload type can be either ``STRING`` or ``JSON``.
|
|
32925
33133
|
*/
|
|
32926
33134
|
type: pulumi.Input<string>;
|
|
32927
33135
|
}
|
|
@@ -32939,11 +33147,11 @@ export declare namespace iotevents {
|
|
|
32939
33147
|
*/
|
|
32940
33148
|
interface DetectorModelSetTimerArgs {
|
|
32941
33149
|
/**
|
|
32942
|
-
* The duration of the timer, in seconds. You can use a string expression that includes numbers, variables (
|
|
33150
|
+
* The duration of the timer, in seconds. You can use a string expression that includes numbers, variables (``$variable.<variable-name>``), and input values (``$input.<input-name>.<path-to-datum>``) as the duration. The range of the duration is 1-31622400 seconds. To ensure accuracy, the minimum duration is 60 seconds. The evaluated result of the duration is rounded down to the nearest whole number.
|
|
32943
33151
|
*/
|
|
32944
33152
|
durationExpression?: pulumi.Input<string>;
|
|
32945
33153
|
/**
|
|
32946
|
-
* The number of seconds until the timer expires. The minimum value is
|
|
33154
|
+
* The number of seconds until the timer expires. The minimum value is 60 seconds to ensure accuracy. The maximum value is 31622400 seconds.
|
|
32947
33155
|
*/
|
|
32948
33156
|
seconds?: pulumi.Input<number>;
|
|
32949
33157
|
/**
|
|
@@ -32977,6 +33185,9 @@ export declare namespace iotevents {
|
|
|
32977
33185
|
*/
|
|
32978
33186
|
targetArn: pulumi.Input<string>;
|
|
32979
33187
|
}
|
|
33188
|
+
/**
|
|
33189
|
+
* Sends information about the detector model instance and the event that triggered the action to an Amazon SQS queue.
|
|
33190
|
+
*/
|
|
32980
33191
|
interface DetectorModelSqsArgs {
|
|
32981
33192
|
/**
|
|
32982
33193
|
* You can configure the action payload when you send a message to an Amazon SQS queue.
|
|
@@ -32987,7 +33198,7 @@ export declare namespace iotevents {
|
|
|
32987
33198
|
*/
|
|
32988
33199
|
queueUrl: pulumi.Input<string>;
|
|
32989
33200
|
/**
|
|
32990
|
-
* Set this to
|
|
33201
|
+
* 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.
|
|
32991
33202
|
*/
|
|
32992
33203
|
useBase64?: pulumi.Input<boolean>;
|
|
32993
33204
|
}
|
|
@@ -32996,15 +33207,15 @@ export declare namespace iotevents {
|
|
|
32996
33207
|
*/
|
|
32997
33208
|
interface DetectorModelStateArgs {
|
|
32998
33209
|
/**
|
|
32999
|
-
* When entering this state, perform these
|
|
33210
|
+
* When entering this state, perform these ``actions`` if the ``condition`` is TRUE.
|
|
33000
33211
|
*/
|
|
33001
33212
|
onEnter?: pulumi.Input<inputs.iotevents.DetectorModelOnEnterArgs>;
|
|
33002
33213
|
/**
|
|
33003
|
-
* When exiting this state, perform these
|
|
33214
|
+
* When exiting this state, perform these ``actions`` if the specified ``condition`` is ``TRUE``.
|
|
33004
33215
|
*/
|
|
33005
33216
|
onExit?: pulumi.Input<inputs.iotevents.DetectorModelOnExitArgs>;
|
|
33006
33217
|
/**
|
|
33007
|
-
* When an input is received and the
|
|
33218
|
+
* When an input is received and the ``condition`` is TRUE, perform the specified ``actions``.
|
|
33008
33219
|
*/
|
|
33009
33220
|
onInput?: pulumi.Input<inputs.iotevents.DetectorModelOnInputArgs>;
|
|
33010
33221
|
/**
|
|
@@ -33013,7 +33224,7 @@ export declare namespace iotevents {
|
|
|
33013
33224
|
stateName: pulumi.Input<string>;
|
|
33014
33225
|
}
|
|
33015
33226
|
/**
|
|
33016
|
-
* Specifies the
|
|
33227
|
+
* Specifies the actions performed and the next state entered when a ``condition`` evaluates to TRUE.
|
|
33017
33228
|
*/
|
|
33018
33229
|
interface DetectorModelTransitionEventArgs {
|
|
33019
33230
|
/**
|
|
@@ -33021,11 +33232,11 @@ export declare namespace iotevents {
|
|
|
33021
33232
|
*/
|
|
33022
33233
|
actions?: pulumi.Input<pulumi.Input<inputs.iotevents.DetectorModelActionArgs>[]>;
|
|
33023
33234
|
/**
|
|
33024
|
-
* A Boolean expression that when
|
|
33235
|
+
* Required. A Boolean expression that when TRUE causes the actions to be performed and the ``nextState`` to be entered.
|
|
33025
33236
|
*/
|
|
33026
33237
|
condition: pulumi.Input<string>;
|
|
33027
33238
|
/**
|
|
33028
|
-
* The name of the event.
|
|
33239
|
+
* The name of the transition event.
|
|
33029
33240
|
*/
|
|
33030
33241
|
eventName: pulumi.Input<string>;
|
|
33031
33242
|
/**
|
|
@@ -33034,13 +33245,12 @@ export declare namespace iotevents {
|
|
|
33034
33245
|
nextState: pulumi.Input<string>;
|
|
33035
33246
|
}
|
|
33036
33247
|
/**
|
|
33037
|
-
* The attributes from the JSON payload that are made available by the input. Inputs are derived from messages sent to the
|
|
33248
|
+
* The attributes from the JSON payload that are made available by the input. Inputs are derived from messages sent to the ITE system using ``BatchPutMessage``. Each such message contains a JSON payload. Those attributes (and their paired values) specified here are available for use in the ``condition`` expressions used by detectors.
|
|
33038
33249
|
*/
|
|
33039
33250
|
interface InputAttributeArgs {
|
|
33040
33251
|
/**
|
|
33041
|
-
* An expression that specifies an attribute-value pair in a JSON structure. Use this to specify an attribute from the JSON payload that is made available by the input. Inputs are derived from messages sent to
|
|
33042
|
-
*
|
|
33043
|
-
* _Syntax_: `<field-name>.<field-name>...`
|
|
33252
|
+
* An expression that specifies an attribute-value pair in a JSON structure. Use this to specify an attribute from the JSON payload that is made available by the input. Inputs are derived from messages sent to ITE (``BatchPutMessage``). Each such message contains a JSON payload. The attribute (and its paired value) specified here are available for use in the ``condition`` expressions used by detectors.
|
|
33253
|
+
* Syntax: ``<field-name>.<field-name>...``
|
|
33044
33254
|
*/
|
|
33045
33255
|
jsonPath: pulumi.Input<string>;
|
|
33046
33256
|
}
|
|
@@ -33049,7 +33259,7 @@ export declare namespace iotevents {
|
|
|
33049
33259
|
*/
|
|
33050
33260
|
interface InputDefinitionArgs {
|
|
33051
33261
|
/**
|
|
33052
|
-
* The attributes from the JSON payload that are made available by the input. Inputs are derived from messages sent to the
|
|
33262
|
+
* The attributes from the JSON payload that are made available by the input. Inputs are derived from messages sent to the ITE system using ``BatchPutMessage``. Each such message contains a JSON payload, and those attributes (and their paired values) specified here are available for use in the ``condition`` expressions used by detectors that monitor this input.
|
|
33053
33263
|
*/
|
|
33054
33264
|
attributes: pulumi.Input<pulumi.Input<inputs.iotevents.InputAttributeArgs>[]>;
|
|
33055
33265
|
}
|
|
@@ -47617,6 +47827,11 @@ export declare namespace quicksight {
|
|
|
47617
47827
|
*/
|
|
47618
47828
|
filterListConfiguration?: pulumi.Input<inputs.quicksight.AnalysisFilterListConfigurationArgs>;
|
|
47619
47829
|
}
|
|
47830
|
+
interface AnalysisCategoryInnerFilterArgs {
|
|
47831
|
+
column: pulumi.Input<inputs.quicksight.AnalysisColumnIdentifierArgs>;
|
|
47832
|
+
configuration: pulumi.Input<inputs.quicksight.AnalysisCategoryFilterConfigurationArgs>;
|
|
47833
|
+
defaultFilterControlConfiguration?: pulumi.Input<inputs.quicksight.AnalysisDefaultFilterControlConfigurationArgs>;
|
|
47834
|
+
}
|
|
47620
47835
|
interface AnalysisChartAxisLabelOptionsArgs {
|
|
47621
47836
|
/**
|
|
47622
47837
|
* The label options for a chart axis.
|
|
@@ -49232,6 +49447,7 @@ export declare namespace quicksight {
|
|
|
49232
49447
|
* For more information, see [Adding text filters](https://docs.aws.amazon.com/quicksight/latest/user/add-a-text-filter-data-prep.html) in the *Amazon QuickSight User Guide* .
|
|
49233
49448
|
*/
|
|
49234
49449
|
categoryFilter?: pulumi.Input<inputs.quicksight.AnalysisCategoryFilterArgs>;
|
|
49450
|
+
nestedFilter?: pulumi.Input<inputs.quicksight.AnalysisNestedFilterArgs>;
|
|
49235
49451
|
/**
|
|
49236
49452
|
* A `NumericEqualityFilter` filters numeric values that equal or do not equal a given numeric value.
|
|
49237
49453
|
*/
|
|
@@ -50461,6 +50677,9 @@ export declare namespace quicksight {
|
|
|
50461
50677
|
*/
|
|
50462
50678
|
visualId: pulumi.Input<string>;
|
|
50463
50679
|
}
|
|
50680
|
+
interface AnalysisInnerFilterArgs {
|
|
50681
|
+
categoryInnerFilter?: pulumi.Input<inputs.quicksight.AnalysisCategoryInnerFilterArgs>;
|
|
50682
|
+
}
|
|
50464
50683
|
interface AnalysisInsightConfigurationArgs {
|
|
50465
50684
|
/**
|
|
50466
50685
|
* The computations configurations of the insight visual
|
|
@@ -51207,6 +51426,12 @@ export declare namespace quicksight {
|
|
|
51207
51426
|
*/
|
|
51208
51427
|
displayMode: pulumi.Input<enums.quicksight.AnalysisNegativeValueDisplayMode>;
|
|
51209
51428
|
}
|
|
51429
|
+
interface AnalysisNestedFilterArgs {
|
|
51430
|
+
column: pulumi.Input<inputs.quicksight.AnalysisColumnIdentifierArgs>;
|
|
51431
|
+
filterId: pulumi.Input<string>;
|
|
51432
|
+
includeInnerSet: pulumi.Input<boolean>;
|
|
51433
|
+
innerFilter: pulumi.Input<inputs.quicksight.AnalysisInnerFilterArgs>;
|
|
51434
|
+
}
|
|
51210
51435
|
interface AnalysisNullValueFormatConfigurationArgs {
|
|
51211
51436
|
/**
|
|
51212
51437
|
* Determines the null string of null values.
|
|
@@ -55342,6 +55567,11 @@ export declare namespace quicksight {
|
|
|
55342
55567
|
*/
|
|
55343
55568
|
filterListConfiguration?: pulumi.Input<inputs.quicksight.DashboardFilterListConfigurationArgs>;
|
|
55344
55569
|
}
|
|
55570
|
+
interface DashboardCategoryInnerFilterArgs {
|
|
55571
|
+
column: pulumi.Input<inputs.quicksight.DashboardColumnIdentifierArgs>;
|
|
55572
|
+
configuration: pulumi.Input<inputs.quicksight.DashboardCategoryFilterConfigurationArgs>;
|
|
55573
|
+
defaultFilterControlConfiguration?: pulumi.Input<inputs.quicksight.DashboardDefaultFilterControlConfigurationArgs>;
|
|
55574
|
+
}
|
|
55345
55575
|
interface DashboardChartAxisLabelOptionsArgs {
|
|
55346
55576
|
/**
|
|
55347
55577
|
* The label options for a chart axis.
|
|
@@ -56945,6 +57175,7 @@ export declare namespace quicksight {
|
|
|
56945
57175
|
* For more information, see [Adding text filters](https://docs.aws.amazon.com/quicksight/latest/user/add-a-text-filter-data-prep.html) in the *Amazon QuickSight User Guide* .
|
|
56946
57176
|
*/
|
|
56947
57177
|
categoryFilter?: pulumi.Input<inputs.quicksight.DashboardCategoryFilterArgs>;
|
|
57178
|
+
nestedFilter?: pulumi.Input<inputs.quicksight.DashboardNestedFilterArgs>;
|
|
56948
57179
|
/**
|
|
56949
57180
|
* A `NumericEqualityFilter` filters numeric values that equal or do not equal a given numeric value.
|
|
56950
57181
|
*/
|
|
@@ -58174,6 +58405,9 @@ export declare namespace quicksight {
|
|
|
58174
58405
|
*/
|
|
58175
58406
|
visualId: pulumi.Input<string>;
|
|
58176
58407
|
}
|
|
58408
|
+
interface DashboardInnerFilterArgs {
|
|
58409
|
+
categoryInnerFilter?: pulumi.Input<inputs.quicksight.DashboardCategoryInnerFilterArgs>;
|
|
58410
|
+
}
|
|
58177
58411
|
interface DashboardInsightConfigurationArgs {
|
|
58178
58412
|
/**
|
|
58179
58413
|
* The computations configurations of the insight visual
|
|
@@ -58926,6 +59160,12 @@ export declare namespace quicksight {
|
|
|
58926
59160
|
*/
|
|
58927
59161
|
displayMode: pulumi.Input<enums.quicksight.DashboardNegativeValueDisplayMode>;
|
|
58928
59162
|
}
|
|
59163
|
+
interface DashboardNestedFilterArgs {
|
|
59164
|
+
column: pulumi.Input<inputs.quicksight.DashboardColumnIdentifierArgs>;
|
|
59165
|
+
filterId: pulumi.Input<string>;
|
|
59166
|
+
includeInnerSet: pulumi.Input<boolean>;
|
|
59167
|
+
innerFilter: pulumi.Input<inputs.quicksight.DashboardInnerFilterArgs>;
|
|
59168
|
+
}
|
|
58929
59169
|
interface DashboardNullValueFormatConfigurationArgs {
|
|
58930
59170
|
/**
|
|
58931
59171
|
* Determines the null string of null values.
|
|
@@ -64562,6 +64802,11 @@ export declare namespace quicksight {
|
|
|
64562
64802
|
*/
|
|
64563
64803
|
filterListConfiguration?: pulumi.Input<inputs.quicksight.TemplateFilterListConfigurationArgs>;
|
|
64564
64804
|
}
|
|
64805
|
+
interface TemplateCategoryInnerFilterArgs {
|
|
64806
|
+
column: pulumi.Input<inputs.quicksight.TemplateColumnIdentifierArgs>;
|
|
64807
|
+
configuration: pulumi.Input<inputs.quicksight.TemplateCategoryFilterConfigurationArgs>;
|
|
64808
|
+
defaultFilterControlConfiguration?: pulumi.Input<inputs.quicksight.TemplateDefaultFilterControlConfigurationArgs>;
|
|
64809
|
+
}
|
|
64565
64810
|
interface TemplateChartAxisLabelOptionsArgs {
|
|
64566
64811
|
/**
|
|
64567
64812
|
* The label options for a chart axis.
|
|
@@ -66140,6 +66385,7 @@ export declare namespace quicksight {
|
|
|
66140
66385
|
* For more information, see [Adding text filters](https://docs.aws.amazon.com/quicksight/latest/user/add-a-text-filter-data-prep.html) in the *Amazon QuickSight User Guide* .
|
|
66141
66386
|
*/
|
|
66142
66387
|
categoryFilter?: pulumi.Input<inputs.quicksight.TemplateCategoryFilterArgs>;
|
|
66388
|
+
nestedFilter?: pulumi.Input<inputs.quicksight.TemplateNestedFilterArgs>;
|
|
66143
66389
|
/**
|
|
66144
66390
|
* A `NumericEqualityFilter` filters numeric values that equal or do not equal a given numeric value.
|
|
66145
66391
|
*/
|
|
@@ -67369,6 +67615,9 @@ export declare namespace quicksight {
|
|
|
67369
67615
|
*/
|
|
67370
67616
|
visualId: pulumi.Input<string>;
|
|
67371
67617
|
}
|
|
67618
|
+
interface TemplateInnerFilterArgs {
|
|
67619
|
+
categoryInnerFilter?: pulumi.Input<inputs.quicksight.TemplateCategoryInnerFilterArgs>;
|
|
67620
|
+
}
|
|
67372
67621
|
interface TemplateInsightConfigurationArgs {
|
|
67373
67622
|
/**
|
|
67374
67623
|
* The computations configurations of the insight visual
|
|
@@ -68102,6 +68351,12 @@ export declare namespace quicksight {
|
|
|
68102
68351
|
*/
|
|
68103
68352
|
displayMode: pulumi.Input<enums.quicksight.TemplateNegativeValueDisplayMode>;
|
|
68104
68353
|
}
|
|
68354
|
+
interface TemplateNestedFilterArgs {
|
|
68355
|
+
column: pulumi.Input<inputs.quicksight.TemplateColumnIdentifierArgs>;
|
|
68356
|
+
filterId: pulumi.Input<string>;
|
|
68357
|
+
includeInnerSet: pulumi.Input<boolean>;
|
|
68358
|
+
innerFilter: pulumi.Input<inputs.quicksight.TemplateInnerFilterArgs>;
|
|
68359
|
+
}
|
|
68105
68360
|
interface TemplateNullValueFormatConfigurationArgs {
|
|
68106
68361
|
/**
|
|
68107
68362
|
* Determines the null string of null values.
|