is there a way to set the destination file/folder ...
# typescript
g
is there a way to set the destination file/folder structure in an s3 bucket? For example:
Copy code
let object = new aws.s3.BucketObject(item, {
        bucket: bucket,
        source: new pulumi.asset.FileAsset(item),     // use FileAsset to point to a file
        contentType: mime.getType(item) || undefined, // set the MIME type of the file
        
        
    });
g
I believe setting
key
on the
BucketObject
is what you want.