UNPKG

deploy-time-build

Version:
19 lines (15 loc) 450 B
## How to Deploy ```sh # Assume current directory is the example directory cd ../lambda/trigger-codebuild npm ci npm run build cd - npx cdk deploy NodejsTestStack npx cdk deploy SociIndexTestStack npx cdk deploy ContainerImageTestStack ``` ## Description After a successful deployment, you will get a CloudFront URL from the stack output. ![demo](../imgs/demo.png) You can see the API endpoint is successfully injected to the sample frontend app.