Public preview
Public preview The updated AWS Lambda console is in preview release and is subject to change. The preview is available to AWS accounts on a region by region basis. The changes include a new function-level configuration page, increased visibility into versions and aliases, and a dedicated section for your code. To provide feedback, visit the updated console (https://console.aws.amazon.com/lambda/) and select Tell us what you think. |
You can use the Lambda console to configure function settings, add triggers and destinations, and edit and update your code. The following sections will cover how to perform those workflows in the updated Lambda console.
Topics
To manage a function, open the Lambda console Functions page and choose a function. From the list of aliases associated with your function, choose the alias that points to the version you want to configure. This will take you to the function visualization.
Choose Latest configuration to view and manage your version's current configuration.
Areas of configuration are broken into five sections, which encapsulate the following:
General
Basic settings
Asynchronous invocation
Monitoring tools
VPC
Database proxies
File system
Concurrency
Runtime
Environment variables
Layers
Triggers
A list of existing triggers and options to create, enable, disable, fix, and delete triggers.
Permissions
Execution role
Resource summary
Resource-based policy
Auditing and compliance
Destinations
A list of existing destinations and options to create, remove, and edit destinations.
Triggers and destinations now exist as subsets of your function's greater configuration settings. Both resources are still visible in the function visualization, but are no longer accessed through interacting with it.
To see your lists of existing triggers or destinations, choose Latest configuration when viewing a version of your function and select either Triggers or Destinations from the left-hand sections.
To add a new trigger
-
Open the Lambda console Functions page and choose a function.
-
From the list of aliases associated with your function, choose the alias that points to the version you want to configure.
-
Choose Latest configuration and then Triggers.
-
Choose Add trigger and select the type of trigger from the list of available options.
-
The fields associated with that trigger will load in below. Fill them in and choose Add.
-
To verify your trigger has been added, choose Overview and note the new trigger in the Function visualization.
To enable, disable, fix, or delete a trigger, choose the item in the list of triggers provided when you visit the Triggers section of Latest configuration. To reconfigure the trigger, use the event source mapping API commands.
To add a new destination
-
Open the Lambda console Functions page and choose a function.
-
From the list of aliases associated with your function, choose the alias that points to the version you want to configure.
-
Choose Latest configuration and then Destinations.
-
Choose Add destination.
-
Fill in the required fields and then choose Save.
-
To verify your destination has been added, choose Overview and note the new destination in the Function visualization.
To edit or remove the destination, choose the item in the list of destinations provided when you choose the Destinations section of Latest configuration.
Function code now has its own primary section within your function's details. To access your function code, open the Lambda console Functions page and choose a function. From the list of aliases associated with your function, choose the alias that points to the version you want to configure. This will take you to the function visualization.
Choose Code to view and manage your version's current code. From this view you can edit inline, where possible, or choose Upload from to upload from a source.
Functionality has not changed for the development environment and test events.