@sjmeverett/s3-bucket-with-contents-resource
TypeScript icon, indicating that this package has built-in type declarations

3.0.0 • Public • Published

@sjmeverett/s3-bucket-with-contents-resource

A lambda for a CloudFormation custom resource which creates an S3 bucket for website hosting and unzips files onto it.

Example:

const myWebsite = createS3BucketWithContents({
  SourceBucket: 'deployment-bucket',
  SourceKey: 'my-website.zip',
  IndexDocument: 'index.html',
  ErrorDocument: 'error.html',
});

Readme

Keywords

none

Package Sidebar

Install

npm i @sjmeverett/s3-bucket-with-contents-resource

Weekly Downloads

1

Version

3.0.0

License

ISC

Unpacked Size

1.51 MB

Total Files

22

Last publish

Collaborators

  • stewartml