TheDocumentation Index
Fetch the complete documentation index at: https://mintlify.com/anomalyco/sst/llms.txt
Use this file to discover all available pages before exploring further.
Vpc component lets you add an Amazon VPC to your app.
Constructor
sst.config.ts
Parameters
nat
Configure the NAT gateway for private subnets.Options:
"managed" (AWS NAT Gateway), "ec2" (EC2-based NAT), or "none".Properties
id
publicSubnets
privateSubnets
securityGroups
nodes
Examples
Connect a function to a VPC
sst.config.ts
Reference an existing VPC
sst.config.ts