@blndspt/cdk-s3-static-website

CDK S3 Static Website

Usage no npm install needed!

<script type="module">
  import blndsptCdkS3StaticWebsite from 'https://cdn.skypack.dev/@blndspt/cdk-s3-static-website';
</script>

README

Welcome to the CDK S3 Static Website Construct Package!

install: npm install @blndspt/cdk-s3-static-website

Properties Required aka cdk-s3-static-website Props

  • projectName: string - name of the project
  • s3WebsiteDeploySource: string - path to the folder where the web assets are stored
  • websiteIndexDocument: string - name of the html document to reference
  • websiteErrorDocument: string - name of the html error document to reference
  • cdnWebsiteIndexDocument: string - name of the html document to reference via CDN
  • cdnComment: string - comment added to CDN description
  • bucketVersioned: boolean (optional) - turn bucket versioning on and off requireBucketEncryption: boolean (optional) - turn bucket encryption on and off