AWS::IoTEvents::DetectorModel Lambda - Amazon CloudFormation
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

AWS::IoTEvents::DetectorModel Lambda

Calls a Lambda function, passing in information about the detector model instance and the event that triggered the action.

Syntax

To declare this entity in your Amazon CloudFormation template, use the following syntax:

JSON

{ "FunctionArn" : String, "Payload" : Payload }

YAML

FunctionArn: String Payload: Payload

Properties

FunctionArn

The ARN of the Lambda function that is executed.

Required: Yes

Type: String

Minimum: 1

Maximum: 2048

Update requires: No interruption

Payload

You can configure the action payload when you send a message to a Lambda function.

Required: No

Type: Payload

Update requires: No interruption