https://github.com/sonufrienko/aws-cdk-static-website
Create infrastructure for a static website with AWS CDK
https://github.com/sonufrienko/aws-cdk-static-website
Last synced: about 1 month ago
JSON representation
Create infrastructure for a static website with AWS CDK
- Host: GitHub
- URL: https://github.com/sonufrienko/aws-cdk-static-website
- Owner: sonufrienko
- License: mit
- Created: 2020-02-23T19:18:26.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2023-01-05T08:06:54.000Z (over 2 years ago)
- Last Synced: 2025-04-06T08:16:19.976Z (3 months ago)
- Language: TypeScript
- Size: 1020 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 14
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Static website with AWS CDK

## Getting started
Install the AWS CDK using the following command.
```shell
npm install -g aws-cdk
```Build and deploy
```shell
npm run build # compile typescript to js
cdk synth # emits the synthesized CloudFormation template
cdk deploy # deploy this stack to your default AWS account/region
```Using AWS profile
```shell
cdk deploy --profile tester
```Deploy by stack name
```shell
cdk deploy ReactStack
```Deploy all stacks
```shell
cdk deploy '*'
```