/*! * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0 */ Edit SAM Debug Configuration Invoke Load Existing Config Save Using this form you can create, edit, and run launch-configs of type:aws-sam. When you Invoke the launch config, {{ company }} Toolkit calls SAM CLI and attaches the debugger to the code running in a local Docker container. Invoke Target Type {{ type.name }} {{ launchConfig.invokeTarget.target }} Project Root the selected directory: {{ launchConfig.invokeTarget.projectRoot }} Lambda Handler lamda handler :{{ launchConfig.invokeTarget.lambdaHandler }} Runtime Choose a runtime... {{ runtime }} runtime in data: {{ launchConfig.lambda.runtime }} Load Resource Template Path Template path from data: {{ launchConfig.invokeTarget.templatePath }} Resource (Logical Id) Logical Id from data: {{ launchConfig.invokeTarget.logicalId }} Runtime Choose a runtime... {{ runtime }} runtime in data: {{ launchConfig.lambda.runtime }} Load Resource Template Path Template path from data: {{ launchConfig.invokeTarget.templatePath }} Resource (Logical Id) Runtime Choose a runtime... {{ runtime }} runtime in data: {{ launchConfig.lambda.runtime }} Path HTTP Method Choose an HTTP Method {{ method }} {{ launchConfig.api.httpMethod }} Query String Headers Error parsing JSON: {{ headers.errorMsg }} Select an Invoke Target aws Credentials: Region lambda Environment Variables Error parsing JSON: {{ environmentVariables.errorMsg }} Memory (MB) Timeout (s) sam Build Arguments Container Build Docker Network Local Arguments Skip New Image Check Template - Parameters Error parsing JSON: {{ parameters.errorMsg }} api Query String Stage Variables Error parsing JSON: {{ stageVariables.errorMsg }} Client Certificate ID API Payload Error parsing JSON: {{ apiPayload.errorMsg }} Load Sample Payload payload from data: {{ payload }} Error parsing JSON: {{ payload.errorMsg }}
Using this form you can create, edit, and run launch-configs of type:aws-sam. When you Invoke the launch config, {{ company }} Toolkit calls SAM CLI and attaches the debugger to the code running in a local Docker container.
type:aws-sam