How to call aws lambda function in logic app http request with access key and secretkey

MVel 1 Reputation point
2022-03-04T14:04:59.327+00:00

We are doing migration from boomi to AIS, How can I call the aws lambda function (post) in logic app http request using access key and secret key. Please help.

Azure Logic Apps
Azure Logic Apps
An Azure service that automates the access and use of data across clouds without writing code.
2,996 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Bruno Lucas 4,426 Reputation points MVP
    2022-03-05T22:08:55.833+00:00

    Hi, I've done that before using the logic app http connector
    https://learn.microsoft.com/en-us/azure/connectors/connectors-native-http

    unfortunately look like Logic apps have a limited amount of Amazon connectors and lambda is not one of them

    180353-image.png

    you need to consume it like an API. The http connector is similar to postman :https://docs.aws.amazon.com/apigateway/latest/developerguide/call-api-with-api-gateway-lambda-authorization.html

    I haven't tried this approach but here is a detailed blog post:
    https://raaviblog.com/how-to-access-aws-api-gateway-endpoints-using-api-key-from-azure-logic-app-and-test-using-postman/

    0 comments No comments

  2. Takahito Iwasa 4,841 Reputation points MVP
    2022-03-19T20:31:52.837+00:00

    Hi. @MVel

    You may want to put an API Gateway in front of your Lambda function to enable IAM authentication.
    Control access to an API with IAM permissions - Amazon API Gateway

    If you just want to execute a Lambda function without receiving a response in the HTTP payload, you can also do Lambda Invoke using the REST API function of the AWS SDK without using API Gateway.

    0 comments No comments