You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.
Class: Aws::IoTEvents::Types::LambdaAction
- Inherits:
-
Struct
- Object
- Struct
- Aws::IoTEvents::Types::LambdaAction
- Defined in:
- (unknown)
Overview
Note:
When passing LambdaAction as input to an Aws::Client method, you can use a vanilla Hash:
{
function_arn: "AmazonResourceName", # required
payload: {
content_expression: "ContentExpression", # required
type: "STRING", # required, accepts STRING, JSON
},
}
Calls a Lambda function, passing in information about the detector model instance and the event that triggered the action.
Returned by:
Instance Attribute Summary collapse
-
#function_arn ⇒ String
The ARN of the Lambda function that is executed.
-
#payload ⇒ Types::Payload
You can configure the action payload when you send a message to a Lambda function.
Instance Attribute Details
#function_arn ⇒ String
The ARN of the Lambda function that is executed.
#payload ⇒ Types::Payload
You can configure the action payload when you send a message to a Lambda function.