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();
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forCfnAlarmModel.LambdaProperty
static final class
An implementation forCfnAlarmModel.LambdaProperty
-
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getFunctionArn
The ARN of the Lambda function that is executed. -
getPayload
You can configure the action payload when you send a message to a Lambda function. -
builder
-