Postgres component lets you add a Postgres database to your app using Amazon RDS Postgres.
Constructor
sst.config.ts
Parameters
vpc
The VPC to place the database in.
version
The Postgres version.
instance
The database instance type.
Properties
host
port
database
username
password
SDK
Access the database connection info:src/lambda.ts
Examples
Create a Postgres database
sst.config.ts
Link to a function
sst.config.ts