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. 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.

AWS Lambda Connections#

AWS Lambda Access Key and Secret#

InputKeyNotesExample

Access Key ID

string
/ Required
accessKeyIdAn AWS IAM Access Key IDAKIAIOSFODNN7EXAMPLE

Secret Access Key

string
/ Required
secretAccessKeyAn AWS IAM Secret Access KeywJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY

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

Connection Input

connection
/ Required
connectionInput

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.

List Function#

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

InputKeyDefaultNotesExample

Connection Input

connection
/ Required
awsConnection

AWS Region

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

Marker

string
markerSpecify the pagination token that's returned by a previous request to retrieve the next page of resultslslTXFcbLQKkb0vP9Kgh5hy0Y0OnC7Z9ZPHPwPmMnxSk3eiDRMkct7D8E

Max Items

string
maxItemsProvide an integer value for the maximum amount of items that will be returned. Provide a value from 1 to 50.20