interface IotEventsProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.IoTEvents.Mixins.CfnDetectorModelPropsMixin.IotEventsProperty |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awsiotevents/mixins#CfnDetectorModelPropsMixin_IotEventsProperty |
Java | software.amazon.awscdk.mixins.preview.services.iotevents.mixins.CfnDetectorModelPropsMixin.IotEventsProperty |
Python | aws_cdk.mixins_preview.aws_iotevents.mixins.CfnDetectorModelPropsMixin.IotEventsProperty |
TypeScript | @aws-cdk/mixins-preview » aws_iotevents » mixins » CfnDetectorModelPropsMixin » 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 { mixins as iotevents_mixins } from '@aws-cdk/mixins-preview/aws-iotevents';
const iotEventsProperty: iotevents_mixins.CfnDetectorModelPropsMixin.IotEventsProperty = {
inputName: 'inputName',
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
(optional)
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.

.NET
Go
Java
Python
TypeScript