@fmtk/s3-unpack-asset
TypeScript icon, indicating that this package has built-in type declarations

0.3.3 • Public • Published

S3UnpackAsset

Upload a zip and unpack it to the specified bucket.

const bucket = new s3.Bucket(this, 'Bucket');

const asset = makeFileAsset(this, 'path/to/folder/');

new S3UnpackAsset(this, 'Unpack', {
  sourceBucket: asset.s3BucketName,
  sourceObjectName: asset.s3ObjectKey,
  destinationBucket: bucket.bucketName,
  destinationPrefix: 'foo/bar',
});

Readme

Keywords

none

Package Sidebar

Install

npm i @fmtk/s3-unpack-asset

Weekly Downloads

13

Version

0.3.3

License

MIT

Unpacked Size

208 kB

Total Files

17

Last publish

Collaborators

  • gordonmleigh