interface InputDefinitionProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.IoTEvents.CfnInput.InputDefinitionProperty |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsiotevents#CfnInput_InputDefinitionProperty |
Java | software.amazon.awscdk.services.iotevents.CfnInput.InputDefinitionProperty |
Python | aws_cdk.aws_iotevents.CfnInput.InputDefinitionProperty |
TypeScript | aws-cdk-lib » 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 { aws_iotevents as iotevents } from 'aws-cdk-lib';
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
Go
Java
Python
TypeScript