Skip to content

Latest commit

 

History

History
40 lines (29 loc) · 1.74 KB

File metadata and controls

40 lines (29 loc) · 1.74 KB

Cloudformation Custom Resource Example

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.

Deploy the sample application

This sample can be used either with the Serverless Application Model (SAM) or with CDK.

Deploy with SAM CLI

To use the SAM CLI, you need the following tools.

To build and deploy this application for the first time, run the following in your shell:

cd infra/sam
sam build
sam deploy --guided --parameter-overrides BucketNameParam=my-unique-bucket-20230717

Deploy with CDK

To use CDK you need the following tools.

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