In order to use the existing S3 bucket, I wrote th...
# help
a
In order to use the existing S3 bucket, I wrote this code. Is that the right approach?
const uploadFilesConfig = s3.Bucket.fromBucketName(
stack,
"UploadFilesBucketDev",
process.env.AWS_S3_UPLOAD_FILES_BUCKET_NAME,
);
this.uploadFilesBucket = new sst.Bucket(stack, "UploadFilesBucket", {
s3Bucket: uploadFilesConfig,
});
f
Hey @Artem Pabacham , are you trying to setup notifications on existing bucket?