This directory is for deploying a Lambda function using CDK.
This application directory was initialized using the following command.
cdk init app --language typescript
If using CDK for the first time with an AWS account, you must first bootstrap CDK.
cdk bootstrap aws://{ACCOUNTID}/{REGION}
Copy etc/environment.template to etc/environment.sh and update accordingly.
CDK_STACK: your CloudFormation stack name
After completing the deployment, update the following outputs:
O_SFN_ARN: output Step Functions workflow ARN
Check if the template is valid: make cdk.synth
Deploy the Lambda resources: make cdk.deploy
Invoke the Step Functions workflow: make sf.invoke