This is a stable example. It should successfully build out of the box
This example is built on Construct Libraries marked "Stable" and does not have any infrastructure prerequisites to build.
This example creates a new EventBridge rule that executes a Lambda function every minute. It sends an email via the lambda that calls an SNS topic.
To build this example, you need to be in this example's root directory. Then run the following:
npm install -g aws-cdk
npm install
cdk synth
This will install the necessary CDK, then this example's dependencies, and then build the CloudFormation template. The resulting CloudFormation template will be in the cdk.out
directory.
Run cdk deploy --parameters email=<email_address>
replacing <email_address> with a valid email address. This will deploy / redeploy the Stack to AWS and start sending email notifications to the address provided every 1 minute.
mvn package
compile and run testscdk ls
list all stacks in the appcdk synth
emits the synthesized CloudFormation templatecdk deploy
deploy this stack to your default AWS account/regioncdk diff
compare deployed stack with current statecdk docs
open CDK documentation