0.22.0 • Published 5 years ago
wolke-next-cdk v0.22.0
Wolke Next CDK
Project to deploy Next.js via CDK on AWS
Useful commands
npm run buildcompile typescript to jsnpm run watchwatch for changes and compilenpm run testperform the jest unit testscdk deploydeploy this stack to your default AWS account/regioncdk diffcompare deployed stack with current statecdk synthemits the synthesized CloudFormation template
IAM Role to allow CDK stuff
{
"Version": "2012-10-17",
"Statement": [
{
"Action": ["cloudformation:*"],
"Resource": "*",
"Effect": "Allow"
},
{
"Condition": {
"ForAnyValue:StringEquals": {
"aws:CalledVia": ["cloudformation.amazonaws.com"]
}
},
"Action": "*",
"Resource": "*",
"Effect": "Allow"
},
{
"Action": "s3:*",
"Resource": "arn:aws:s3:::cdktoolkit-stagingbucket-*",
"Effect": "Allow"
}
]
}Optimized static assets
Please move all assets into /public/static/*. This is an optimized path that directly access S3 from Cloudfront. /public/* is passed through Lambda function, so takes longer and is more expensive.
0.22.0
5 years ago
0.21.0
5 years ago
0.20.0
5 years ago
0.19.0
5 years ago
0.18.0
5 years ago
0.17.0
5 years ago
0.16.0
5 years ago
0.15.1
5 years ago
0.15.0
5 years ago
0.14.1
5 years ago
0.14.0
5 years ago
0.13.0
5 years ago
0.13.1
5 years ago
0.11.0
5 years ago
0.12.0
5 years ago
0.9.0
5 years ago
0.8.1
5 years ago
0.8.0
5 years ago
0.7.0
5 years ago
0.6.0
5 years ago
0.5.0
5 years ago
0.4.0
5 years ago
0.2.3
5 years ago
0.2.2
5 years ago
0.2.1
5 years ago
0.2.0
5 years ago
0.1.0
5 years ago