https://github.com/adambien/aws-cdk-plain
Slightly Streamlined AWS Cloud Development Kit (CDK) Boilerplate for Java
https://github.com/adambien/aws-cdk-plain
aws cdk cloud java template
Last synced: 2 months ago
JSON representation
Slightly Streamlined AWS Cloud Development Kit (CDK) Boilerplate for Java
- Host: GitHub
- URL: https://github.com/adambien/aws-cdk-plain
- Owner: AdamBien
- License: apache-2.0
- Created: 2021-07-14T07:38:05.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2024-05-18T14:29:19.000Z (over 1 year ago)
- Last Synced: 2024-05-18T15:33:01.507Z (over 1 year ago)
- Topics: aws, cdk, cloud, java, template
- Language: Java
- Homepage:
- Size: 31.3 KB
- Stars: 14
- Watchers: 3
- Forks: 6
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Slightly Streamlined AWS Cloud Development Kit (CDK) Boilerplate
This is a blank, slightly streamlined, project for [Java development with AWS CDK](https://docs.aws.amazon.com/cdk/latest/guide/work-with-cdk-java.html).
You will find the maven command in `cdk.json` file.
It is a [Maven](https://maven.apache.org/) based project, so you can open this project with any Maven compatible Java IDE to build and run tests.
## Installation
0. For max convenience use the [`default` profile](https://docs.aws.amazon.com/cli/latest/userguide/cli-configure-profiles.html)
1. Install [AWS CDK CLI](https://docs.aws.amazon.com/cdk/latest/guide/getting_started.html)
2. [`cdk boostrap --profile YOUR_AWS_PROFILE`](https://docs.aws.amazon.com/cdk/latest/guide/bootstrapping.html)## Useful commands
* `mvn package` compile and run tests
* `cdk ls` list all stacks in the app
* `cdk synth` emits the synthesized CloudFormation template
* `cdk deploy` deploy this stack to your default AWS account/region
* `cdk diff` compare deployed stack with current state
* `cdk docs` open CDK documentationEnjoy!
## in action
### Infrastructure as Java Code (IaJC): Setting AWS System Manager Parameter
[](https://www.youtube.com/embed/eTG7EV1ThqQ?rel=0)
## references
Used in:
1. [Plain Lambda Template](https://github.com/AdamBien/aws-lambda-cdk-plain)
2. [MicroProfile on Quarkus as Lambda Template](https://github.com/AdamBien/aws-quarkus-lambda-cdk-plain)See you at: [airhacks.live](https://airhacks.live)