aws-cdk-lib.aws_iotevents.CfnDetectorModel.IotEventsProperty

interface IotEventsProperty

LanguageType name
.NETAmazon.CDK.AWS.IoTEvents.CfnDetectorModel.IotEventsProperty
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awsiotevents#CfnDetectorModel_IotEventsProperty
Javasoftware.amazon.awscdk.services.iotevents.CfnDetectorModel.IotEventsProperty
Pythonaws_cdk.aws_iotevents.CfnDetectorModel.IotEventsProperty
TypeScript aws-cdk-lib » 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 { aws_iotevents as iotevents } from 'aws-cdk-lib';
const iotEventsProperty: iotevents.CfnDetectorModel.IotEventsProperty = {
  inputName: 'inputName',

  // the properties below are optional
  payload: {
    contentExpression: 'contentExpression',
    type: 'type',
  },
};

Properties

NameTypeDescription
inputNamestringThe name of the AWS IoT Events input where the data is sent.
payload?IResolvable | PayloadPropertyYou 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 | PayloadProperty (optional)

You can configure the action payload when you send a message to an AWS IoT Events input.