@exobase/pulumi-aws-s3-static-website
v0.0.1-alpha.15
Published
Exobase pulumi package for creating resources in AWS that make up a static website on S3
Downloads
35
Readme
@exobase/pulumi-aws-s3-static-website
Exobase pulumi package for creating resources in AWS that make up a static website on S3
Install
yarn add --dev @exobase/pulumi-aws-s3-static-website
Usage
import { AWSS3StaticWebsite } from '@exobase/pulumi-aws-s3-static-website'
new AWSS3StaticWebsite('my-api', {
sourceDir: process.pwd(),
distDir: `${process.pwd()}/dist`
preBuildCommand: 'yarn'
buildCommand: 'yarn build'
})