Skip to content

Latest commit

 

History

History

java

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Java Examples

Language-Support: Stable

This section contains all the CDK code examples written in Java. To manage CDK packages in Java we use Apache Maven (packages managed on Central Repository). For more information on using the CDK in Java, please see the Developer Guide.

Running Examples

To run a Java examples, execute the following:

$ npm install -g aws-cdk
$ cd java/EXAMPLE_DIRECTORY
$ cdk deploy

Then, to dispose of the stack afterwards:

$ cdk destroy

Table of Contents

Example Description
fargate-load-balanced-service Starting a container fronted by a load balancer on Fargate
hello-world A demo application that uses the CDK in Java
lambda-cron Running a Lambda on a schedule
resource-overrides Use of the resource overrides (aka "escape hatch") mechanism.
stepfunctions-job-poller A simple StepFunctions workflow
static-site A static site using CloudFront
api-cors-lambda-crud-dynamodb Creating a single API with CORS, and five Lambdas doing CRUD operations over a single DynamoDB
classic-load-balancer Using an AutoScalingGroup with a Classic Load Balancer