Menu
AWS Tools for Microsoft Visual Studio Team Services
User Guide

AWS Lambda Invoke Function Task

Synopsis

This task invokes an AWS Lambda function with a JSON payload.

Description

This task invokes a previously deployed Lambda function.

Parameters

You can set the following parameters for the task. Required parameters are noted by an asterisk (*). Other parameters are optional.

Displayname*

The default name of the task, AWS Lambda Invoke Function. You can rename it.

AWS Credentials*

The AWS credentials to use. If needed, choose +, and then add a new AWS connection.

AWS Region*

The AWS Region name to use. For more information, see Regions and Endpoints in the Amazon Web Services General Reference.

Function Name*

The name of the Lambda function to invoke. You can also specify the Amazon Resource Name (ARN) of the function.

Payload

The JSON formatted payload to pass to the function.

Invocation Type

Either Asynchronous execution or Synchronous execution returning the output from the function.

Synchronous Execution Output

Output Variable

The name of the variable that will contain the function output on task completion. You can use the variable as $(variableName) to refer to the function result in subsequent tasks.

Log Type

For synchronous execution, returns the base64-encoded last 4 KB of log data produced by your Lambda function in the x-amz-log-result header.