description |
---|
Overview of the `rds` module. |
Overview of the rds
module in the sst/node
package.
import { ... } from "sst/node/rds"
The rds
module has the following exports.
The properties let you access the resources that are bound to the function.
This module helps with accessing RDS
constructs.
import { RDS } from "sst/node/rds";
Type : string
The ARN of the RDS Serverless Cluster.
console.log(RDS.myDatabase.clusterArn);
Type : string
The ARN of the Secrets Manager Secret for the RDS Serverless Cluster.
console.log(RDS.myDatabase.secretArn);
Type : string
The default database name of the RDS Serverless Cluster.
console.log(RDS.myDatabase.defaultDatabaseName);