Working with AWS Serverless Land - AWS Toolkit for VS Code

Working with AWS Serverless Land

AWS Serverless Land in the AWS Toolkit for Visual Studio Code is a collection of features that assists you with building event-driven architectures. The following topic sections describe how to work with Serverless Land in the AWS Toolkit. For detailed information about Serverless Land, see the Serverless Land web application.

Accessing Serverless Land

There are 3 main entry points to access Serverless Land in the AWS Toolkit:

  • The VS Code Command Palette

  • The AWS Toolkit Explorer

  • The AWS Toolkit Application Builder explorer

To open Serverless Land from the VS Code Command Palette, complete the following steps.

  1. From VS Code, open the Command Palette by pressing option+shift+p (Mac) or control+shift+p (Windows).

  2. From the VS Code Command Palette, enter AWS Create application with Serverless template into the search bar.

  3. Choose AWS: Create application with Serverless template when it populates in the list.

  4. The Serverless Land wizard opens to the Select a Pattern for you application (1/5) screen in VS Code when the process is complete.

To open Serverless Land from the AWS Toolkit Explorer, complete the following steps.

  1. From the AWS Toolkit Explorer, expand the region that you want to open Serverless Land in.

  2. Open the context menu for (right-click) the Lambda node.

  3. Choose Create application with Serverless template from the context menu.

  4. The Serverless Land wizard opens to the Select a Pattern for you application (1/5) screen in VS Code when the process is complete.

To open Serverless Land from the AWS Toolkit Application Builder explorer, complete the following steps.

  1. From the AWS Toolkit Explorer, navigate to the Application Builder explorer.

  2. Right-click the Application Builder explorer and choose Create application with Serverless template from the context menu.

  3. The Serverless Land wizard opens to the Select a Pattern for you application (1/5) screen in VS Code when the process is complete.

Creating an application with Serverless template

To create an application with Serverless template, complete the following steps.

  1. From the Serverless Land wizard Select a Pattern for you application (1/5) screen, choose a Pattern for the base of your application.

    Note

    To view a preview and more details about a particular Pattern, choose the Open in Serverless Land icon located next to the Pattern you want to view. The Serverless Land Pattern opens in your default web browser.

  2. From the Select Runtime (2/5) screen, choose a runtime for your project.

  3. From the Select IaC (3/5) screen, choose an IaC option for your project.

  4. From the Select a project ___location (4/5) screen, choose a ___location to store your project.

  5. From the Enter Project Name (5/5) screen, enter a name for your new application.

  6. Your new application displays in the VS Code explorer and your project readme.md opens in the VS Code editor, when the procedure is complete.

    Note

    After your new application is created, additional actions that are specific to your application type can be found in the readme.md file. Additionally, your AWS Serverless Application Model (AWS SAM) applications can be opened with AWS Application Builder for local testing, debugging, and more.

    For details about working with Application Builder in the AWS Toolkit, see the Working with the AWS Application Builder explorer topic in this User Guide.