@Stability(value=Stable)
public static interface CfnAlarmModel.LambdaProperty
extends software.amazon.jsii.JsiiSerializable
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();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnAlarmModel.LambdaProperty.Builder
A builder for
CfnAlarmModel.LambdaProperty |
static class |
CfnAlarmModel.LambdaProperty.Jsii$Proxy
An implementation for
CfnAlarmModel.LambdaProperty |
| Modifier and Type | Method and Description |
|---|---|
static CfnAlarmModel.LambdaProperty.Builder |
builder() |
String |
getFunctionArn()
The ARN of the Lambda function that is executed.
|
default Object |
getPayload()
You can configure the action payload when you send a message to a Lambda function.
|
@Stability(value=Stable) @NotNull String getFunctionArn()
@Stability(value=Stable) @Nullable default Object getPayload()
@Stability(value=Stable) static CfnAlarmModel.LambdaProperty.Builder builder()
Copyright © 2022. All rights reserved.