interface IotEventsProperty
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.IoTEvents.CfnAlarmModel.IotEventsProperty |
![]() | github.com/aws/aws-cdk-go/awscdk/v2/awsiotevents#CfnAlarmModel_IotEventsProperty |
![]() | software.amazon.awscdk.services.iotevents.CfnAlarmModel.IotEventsProperty |
![]() | aws_cdk.aws_iotevents.CfnAlarmModel.IotEventsProperty |
![]() | aws-cdk-lib » aws_iotevents » CfnAlarmModel » 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 { aws_iotevents as iotevents } from 'aws-cdk-lib';
const iotEventsProperty: iotevents.CfnAlarmModel.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.