AWS Fundamentals Logo
AWS Fundamentals
L2 Construct

LambdaRestApi

A REST API backed by a Lambda function with proxy integration

Import

import { LambdaRestApi } from 'aws-cdk-lib/aws-apigateway';

Or use the module namespace:

import * as apigateway from 'aws-cdk-lib/aws-apigateway';
// apigateway.LambdaRestApi

Underlying CloudFormation Resources

This L2 construct creates and manages the following CloudFormation resources.

Get the Amazon API Gateway Cheat Sheet

Everything you need to know about Amazon API Gateway on one page. HD quality, print-friendly.

Download Free Infographic