An open API service indexing awesome lists of open source software.

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

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 documentation

Enjoy!

## in action

### Infrastructure as Java Code (IaJC): Setting AWS System Manager Parameter

[![Infrastructure as Java Code (IaJC): Setting AWS System Manager Parameter](https://i.ytimg.com/vi/eTG7EV1ThqQ/mqdefault.jpg)](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)