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
show all
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

Instance Attribute Details

#function_arnString

The ARN of the Lambda function that is executed.

Returns:

  • (String)

    The ARN of the Lambda function that is executed.

#payloadTypes::Payload

You can configure the action payload when you send a message to a Lambda function.

Returns:

  • (Types::Payload)

    You can configure the action payload when you send a message to a Lambda function.