Skip to main content

Renovo Solutions Private Lambda Micro REST API (proxy) Infrastructure Library

build

This infrastructure construct library implements a private lambda backed REST API on AWS API Gateway using proxy+.

Features

  • Utilizes an internal Micro API project to provide an api via Lambda (with proxy+) and API Gateway
  • Configures the required VPC endpoint attachment automatically
  • Configures logging for API requests
  • Configures the private gateways policy to restrict access to the VPC endpoint
  • Exports the private DNS name to be used in the app

What this construct does not do

  • Provide the VPC endpoint with private DNS enabled. The user utilizing this construct should create a single VPC endpoint with private DNS enabled and share it across all projects utilizing this consturct.

Private API Gateway traffic flow using VPC Endpoint

API gateways are a managed service that lives outside of our own VPC. Therefore when creating a private gateway this means that in order to access it additional configurations need to occur. Specifically a VPC endpoint must exist for traffic to route to the API Gateway. In addition the Lambda service itself also lives outside our VPC. This can seem a bit complex given that most of our Micro API projects then return to the VPC to route traffic to the database. To help visualize what this looks like here is a diagram of this traffic flow when routing through the api gateway for Micro APIs:

private api traffic flow

The old setup, using public traffic flow

We used to deploy API gateways as public endpoints. For the sake of comparison here is what the old traffic flow would have looked like:

public api traffic flow

References

Metadata

Release files for renovosolutions.aws-cdk-renovo-microapi 0.0.236

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for renovosolutions.aws-cdk-renovo-microapi 0.0.236
File Size Uploaded
renovosolutions_aws_cdk_renovo_microapi-0.0.236.tar.gz 173.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for renovosolutions.aws-cdk-renovo-microapi 0.0.236
File Interpreter ABI Platform
renovosolutions.aws_cdk_renovo_microapi-0.0.236-py3-none-any.whl Python 3 none any Details

Total release size: 348.3 kB

Release files / renovosolutions_aws_cdk_renovo_microapi-0.0.236.tar.gz

Download URL renovosolutions_aws_cdk_renovo_microapi-0.0.236.tar.gz
Size 173.9 kB
Tags Source
SHA-256 checksum
How to use checksums
c58ab299a4ff4b86d3bb7d6d5c022d8db5608878f0853b810c194025a11382ad
BLAKE2b-256 checksum
How to use checksums
bd065b359509be80f95862a48c8f6d529b2977cb6d763a01f1438ab0bfeeb900
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.10.12

Release files / renovosolutions.aws_cdk_renovo_microapi-0.0.236-py3-none-any.whl

Download URL renovosolutions.aws_cdk_renovo_microapi-0.0.236-py3-none-any.whl
Size 174.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a8355b739f0697b13729255d7faa57e7cb93b306c8d15b106b9b4a7413cc4328
BLAKE2b-256 checksum
How to use checksums
19eaf8200bba029972abb0aee1b3f9e5ae4d61b61f29c7895f9a088bd76eb154
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.10.12

Release history Release notifications | RSS feed

This release

0.0.236 This release

2 release files

0.0.99

2 release files

0.0.93

2 release files

0.0.92

2 release files

0.0.91

2 release files

0.0.90

2 release files

0.0.89

2 release files

0.0.88

2 release files

0.0.87

2 release files

0.0.86

2 release files

0.0.85

2 release files

0.0.84

2 release files

0.0.83

2 release files

0.0.82

2 release files

0.0.81

2 release files

0.0.80

2 release files

0.0.79

2 release files

0.0.78

2 release files

0.0.77

2 release files

0.0.76

2 release files

0.0.75

2 release files

0.0.74

2 release files

0.0.67

2 release files

0.0.66

2 release files

0.0.65

2 release files

0.0.64

2 release files

0.0.63

2 release files

0.0.62

2 release files

0.0.61

2 release files

0.0.60

2 release files

0.0.59

2 release files

0.0.58

2 release files

0.0.57

2 release files

0.0.56

2 release files

0.0.55

2 release files

0.0.54

2 release files

0.0.53

2 release files

0.0.52

2 release files

0.0.51

2 release files

0.0.50

2 release files

0.0.49

2 release files

0.0.39

2 release files

0.0.38

2 release files

0.0.37

2 release files

0.0.36

2 release files

0.0.35

2 release files

0.0.34

2 release files

0.0.33

2 release files

0.0.32

2 release files

0.0.31

2 release files

0.0.30

2 release files

0.0.29

2 release files

0.0.28

2 release files

0.0.27

2 release files

0.0.26

2 release files

0.0.25

2 release files

0.0.24

2 release files

0.0.23

2 release files

0.0.22

2 release files

0.0.21

2 release files

0.0.20

2 release files

0.0.19

2 release files

0.0.18

2 release files

0.0.9

2 release files

0.0.8

2 release files

0.0.7

2 release files

0.0.6

2 release files

0.0.5

2 release files

0.0.4

2 release files

0.0.3

2 release files

0.0.2

2 release files

0.0.1

2 release files

0.0.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page