class Aws::IoTEvents::Types::NotificationTargetActions
Specifies an AWS Lambda function to manage alarm notifications. You can create one or use the [AWS Lambda function provided by AWS IoT Events].
[1]: docs.aws.amazon.com/iotevents/latest/developerguide/lambda-support.html
@note When making an API call, you may pass NotificationTargetActions
data as a hash: { lambda_action: { function_arn: "AmazonResourceName", # required payload: { content_expression: "ContentExpression", # required type: "STRING", # required, accepts STRING, JSON }, }, }
@!attribute [rw] lambda_action
Calls a Lambda function, passing in information about the detector model instance and the event that triggered the action. @return [Types::LambdaAction]
Constants
- SENSITIVE