interface IotEventsProperty
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.IoTEvents.CfnDetectorModel.IotEventsProperty |
![]() | software.amazon.awscdk.services.iotevents.CfnDetectorModel.IotEventsProperty |
![]() | aws_cdk.aws_iotevents.CfnDetectorModel.IotEventsProperty |
![]() | @aws-cdk/aws-iotevents » CfnDetectorModel » IotEventsProperty |
Sends an AWS IoT Events input, passing in information about the detector model instance and the event that triggered the action.
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 iotEventsProperty: iotevents.CfnDetectorModel.IotEventsProperty = {
inputName: 'inputName',
// the properties below are optional
payload: {
contentExpression: 'contentExpression',
type: 'type',
},
};
Properties
Name | Type | Description |
---|---|---|
input | string | The name of the AWS IoT Events input where the data is sent. |
payload? | IResolvable | Payload | You can configure the action payload when you send a message to an AWS IoT Events input. |
inputName
Type:
string
The name of the AWS IoT Events input where the data is sent.
payload?
Type:
IResolvable
|
Payload
(optional)
You can configure the action payload when you send a message to an AWS IoT Events input.