Skip to main content

AWS Lambda Component

Manage and invoke AWS Lambdas

Component key: aws-lambda

Description#

AWS Lambda is an event-driven, serverless computing platform provided by Amazon as a part of Amazon Web Services. The AWS Lambda component allows you to manage and interact with AWS Lambda functions.

Authorization Notes#

An AWS IAM access key pair is required to interact with AWS Lambda. The AWS access_key_id serves as the API Key, and the secret_access_key serves as the API Secret. Make sure that the key pair you generate in AWS has proper permissions to the Lambda functions you want to access. Read more about AWS Lambda permissions in the AWS docs.

Actions#

Invoke#

Invoke an AWS Lambda function | key: invoke

InputKeyDefaultNotesExample

AWS Region

string
/ Required
awsRegionus-east-1AWS provides services in multiple regions, like us-west-2 or eu-east-1.us-east-1

Function Name

string
/ Required
functionNameProvide a string value for the name of the AWS Lambda function you would like to invoke. Instead of providing the function name, you can also provide the unique function ARN.arn:aws:example::prismatic

Invoke Args

string
invokeArgsProvide a JSON string containing the arguments you would like to pass to the AWS Lambda function.[{"mykey":"myValue"},{"mykey":"myValue"}]

Invoke Type

string
invokeTypeRequestResponse (default) - Invoke the function synchronously. Event - Invoke the function asynchronously. DryRun - Validate parameter values and verify that the user or role has permission to invoke the function.

Authorization#

Authorization is required for this action.
Auth TypeKeyDescriptionFields
API Key / Secretapi_key_secretAPI Key / Secret Combination

API Key |  api_key

API Secret |  api_secret


List Function#

List Information and metadata about all AWS Lambda functions | key: listFunctions

InputKeyDefaultNotesExample

AWS Region

string
/ Required
awsRegionus-east-1AWS provides services in multiple regions, like us-west-2 or eu-east-1.us-east-1

Authorization#

Authorization is required for this action.
Auth TypeKeyDescriptionFields
API Key / Secretapi_key_secretAPI Key / Secret Combination

API Key |  api_key

API Secret |  api_secret