interface InputDefinitionProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.IoTEvents.CfnInput.InputDefinitionProperty |
Java | software.amazon.awscdk.services.iotevents.CfnInput.InputDefinitionProperty |
Python | aws_cdk.aws_iotevents.CfnInput.InputDefinitionProperty |
TypeScript | @aws-cdk/aws-iotevents » CfnInput » InputDefinitionProperty |
The definition of the input.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as iotevents from '@aws-cdk/aws-iotevents';
const inputDefinitionProperty: iotevents.CfnInput.InputDefinitionProperty = {
attributes: [{
jsonPath: 'jsonPath',
}],
};
Properties
| Name | Type | Description |
|---|---|---|
| attributes | IResolvable | IResolvable | Attribute[] | The attributes from the JSON payload that are made available by the input. |
attributes
Type:
IResolvable | IResolvable | Attribute[]
The attributes from the JSON payload that are made available by the input.
Inputs are derived from messages sent to the AWS IoT Events 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.

.NET
Java
Python
TypeScript