Skip to content
You're viewing an older version of this GitHub Action. Do you want to see the latest version instead?
arrow-up-right

GitHub Action

invoke-aws-lambda

v3

invoke-aws-lambda

arrow-up-right

invoke-aws-lambda

Invoke AWS Lambda function

Installation

Copy and paste the following snippet into your .yml file.

              

- name: invoke-aws-lambda

uses: gagoar/invoke-aws-lambda@v3

Learn more about this action in gagoar/invoke-aws-lambda

Choose a version

Invoke AWS Lambda

This action allows you to invoke a lambda function and get the response (if desired)

Inputs

AWS CREDENTIALS

Required aws credentials`.

Outputs

response

the response from the lambda invocation

Example usage

uses: gagoar/invoke-aws-lambda@v2
with:
  AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
  AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
  FunctionName: SomeFunction
  LogType: None
  Payload: '{"someInput": "value"}'
  Qualifier: someAlias