interface LambdaProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.IoTEvents.Mixins.CfnAlarmModelPropsMixin.LambdaProperty |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awsiotevents/mixins#CfnAlarmModelPropsMixin_LambdaProperty |
Java | software.amazon.awscdk.mixins.preview.services.iotevents.mixins.CfnAlarmModelPropsMixin.LambdaProperty |
Python | aws_cdk.mixins_preview.aws_iotevents.mixins.CfnAlarmModelPropsMixin.LambdaProperty |
TypeScript | @aws-cdk/mixins-preview » aws_iotevents » mixins » CfnAlarmModelPropsMixin » LambdaProperty |
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 { mixins as iotevents_mixins } from '@aws-cdk/mixins-preview/aws-iotevents';
const lambdaProperty: iotevents_mixins.CfnAlarmModelPropsMixin.LambdaProperty = {
functionArn: 'functionArn',
payload: {
contentExpression: 'contentExpression',
type: 'type',
},
};
Properties
| Name | Type | Description |
|---|---|---|
| function | string | The ARN of the Lambda function that is executed. |
| payload? | IResolvable | Payload | You can configure the action payload when you send a message to a Lambda function. |
functionArn?
Type:
string
(optional)
The ARN of the Lambda function that is executed.
payload?
Type:
IResolvable | Payload
(optional)
You can configure the action payload when you send a message to a Lambda function.

.NET
Go
Java
Python
TypeScript