Skip to main content

bucket

Overview of the bucket module in the sst/node package.

import { ... } from "sst/node/bucket"

The bucket module has the following exports.


Properties​

The properties let you access the resources that are bound to the function.


Bucket​

This module helps with accessing Bucket constructs.

import { Bucket } from "sst/node/bucket";

bucketName​

Type : string

The name of the S3 bucket.

console.log(Bucket.myBucket.bucketName);