Aurora component lets you add an Amazon Aurora Serverless v2 database cluster to your app.
Constructor
sst.config.ts
Parameters
vpc
The VPC to place the database cluster in.
engine
The database engine. Either
"postgres" or "mysql".version
The database engine version.
scaling
Configure autoscaling for the Aurora Serverless cluster.
Properties
clusterEndpoint
port
database
SDK
Access the database connection info:src/lambda.ts
Examples
Create an Aurora cluster
sst.config.ts
Configure MySQL
sst.config.ts