Class CfnAlarmModelPropsMixin.LambdaProperty
Calls a Lambda function, passing in information about the detector model instance and the event that triggered the action.
Implements
Inherited Members
Namespace: Amazon.CDK.CfnPropertyMixins.AWS.IoTEvents
Assembly: Amazon.CDK.CfnPropertyMixins.dll
Syntax (csharp)
public class CfnAlarmModelPropsMixin.LambdaProperty : CfnAlarmModelPropsMixin.ILambdaProperty
Syntax (vb)
Public Class CfnAlarmModelPropsMixin.LambdaProperty Implements CfnAlarmModelPropsMixin.ILambdaProperty
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.CfnPropertyMixins.AWS.IoTEvents;
var lambdaProperty = new LambdaProperty {
FunctionArn = "functionArn",
Payload = new PayloadProperty {
ContentExpression = "contentExpression",
Type = "type"
}
};
Synopsis
Constructors
| LambdaProperty() | Calls a Lambda function, passing in information about the detector model instance and the event that triggered the action. |
Properties
| FunctionArn | The ARN of the Lambda function that is executed. |
| Payload | You can configure the action payload when you send a message to a Lambda function. |
Constructors
LambdaProperty()
Calls a Lambda function, passing in information about the detector model instance and the event that triggered the action.
public LambdaProperty()
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.CfnPropertyMixins.AWS.IoTEvents;
var lambdaProperty = new LambdaProperty {
FunctionArn = "functionArn",
Payload = new PayloadProperty {
ContentExpression = "contentExpression",
Type = "type"
}
};
Properties
FunctionArn
The ARN of the Lambda function that is executed.
public string? FunctionArn { get; set; }
Property Value
Remarks
Payload
You can configure the action payload when you send a message to a Lambda function.
public object? Payload { get; set; }