Interface CfnAlarmModel.LambdaProperty

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
CfnAlarmModel.LambdaProperty.Jsii$Proxy
Enclosing class:
CfnAlarmModel

@Stability(Stable) public static interface CfnAlarmModel.LambdaProperty extends software.amazon.jsii.JsiiSerializable
Calls a Lambda function, 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 software.amazon.awscdk.services.iotevents.*;
 LambdaProperty lambdaProperty = LambdaProperty.builder()
         .functionArn("functionArn")
         // the properties below are optional
         .payload(PayloadProperty.builder()
                 .contentExpression("contentExpression")
                 .type("type")
                 .build())
         .build();