interface LambdaProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.CfnPropertyMixins.AWS.IoTEvents.CfnAlarmModelPropsMixin.LambdaProperty |
Go | github.com/aws/aws-cdk-go/awscdkcfnpropertymixins/v2/awsiotevents#CfnAlarmModelPropsMixin_LambdaProperty |
Java | software.amazon.awscdk.cfnpropertymixins.services.iotevents.CfnAlarmModelPropsMixin.LambdaProperty |
Python | aws_cdk.cfn_property_mixins.aws_iotevents.CfnAlarmModelPropsMixin.LambdaProperty |
TypeScript | @aws-cdk/cfn-property-mixins » aws_iotevents » 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 { aws_iotevents as iotevents } from '@aws-cdk/cfn-property-mixins';
const lambdaProperty: iotevents.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