This is a example project to show how to use Python in an AWS Lambda function to control actions that you desire to send to any AWS service, in this case to AWS AppSync which is a GraphQL server.
The cdk.json
file tells the CDK Toolkit how to execute your app.
npm install
install project dependenciesnpm run build
compile typescript to jsnpm run watch
watch for changes and compilenpm run test
perform the jest unit testscdk deploy
deploy this stack to your default AWS account/regioncdk diff
compare deployed stack with current statecdk synth
emits the synthesized CloudFormation template