AWS CloudFormation Template: REST API with API Key Using AWS API Gateway and Openapi
$10
$10
https://schema.org/InStock
usd
Saiful Nizam Ismaail
If you are:
- looking for a basic REST API template using AWS Cloudformation.
- frustrated the AWS docs lack of tutorial on how to use OpenApi.
- Couldn't find how to write non-proxy AWS Lambda or direct integration with DynamoDB in OpenAPI.
- don't want to waste time to create template from scratch.
Look no further! This product is a working REST API template that uses OpenApi 3.0.1 format.
You can use this template as your starting point and expand the API as you like.
The template demonstrates:
- Rest API definitions using OpenApi 3.0.1.
- Secured by API Key.
- non-proxy integration to AWS Lambda.
- Direct integration to DynamoDB without AWS Lambda for a quick API execution (dual digit milliseconds).
You can save at least 1 day of your precious life instead of googling on how to integrate all these components.
Architecture
Pre-requisite
Pre-requisites to use this template:
- AWS account
- IAM user with Access and Secret key management.
- AWS SAM Cli installed
How to use?
This template is stored in private Github repository. To download the repo, a Github username is required for us to give you access to the repo.
During checkout, enter Github username in the field.
After purchase:
- The username's email should receive an invitation from Github to the repository.
- Accept the invitation.
- You can download it from there, or
- In your machine's terminal where the git is associated with the Github's username, run
sam init
in the working directory. - Select option 2 (Custom template location)
- Enter https://github.com/ProgrammingCodeStore/basic-rest-api-key-auth-openapi-301.git
AWS SAM template Project
Programming Language
NodeJS
v14.x runtime support
true
v16.x runtime support
true
Openapi Version
3.0.1
Add to wishlist