This project contains an example of Lambda function using the CloudFormation module of Powertools for AWS Lambda in Java. For more information on this module, please refer to the documentation.
This sample can be used either with the Serverless Application Model (SAM) or with CDK.
To deploy it using the SAM CLI, check out the instructions for getting started in the examples directory
To use CDK you need the following tools.
- CDK - Install CDK
- Java 8 - Install Java 8
- Maven - Install Maven
- Docker - Install Docker community edition
To build and deploy this application for the first time, run the following in your shell:
cd infra/cdk
mvn package
cdk synth
cdk deploy -c BucketNameParam=my-unique-bucket-20230718