This is a code sample demonstrating a serverless event-driven architecture enabling engineering teams to process millions of daily events with near real-time visibility and strong resilience.
The cdk.json file tells the CDK Toolkit how to execute your app.
First, make sure your AWS credentials are properly configured for your environment.
aws configure
Second, you'll want to set the environment variable AWS_ACCOUNT_ID to your AWS Account ID.
export AWS_ACCOUNT_ID='123456789012'
Finally, before you can deploy this stack, remember to bootstrap the CDK in every deployment region in the target account.
cdk bootstrap 123456789012/us-east-2 123456789012/us-east-1 123456789012/us-west-2 123456789012/us-west-1
Now you're ready to deploy! Check out *Useful commands below.
npm run buildcompile typescript to jsnpm run watchwatch for changes and compilenpm run testperform the jest unit testsnpx cdk deploy --alldeploy this stack to your default AWS account/regionnpx cdk diffcompare deployed stack with current statenpx cdk synthemits the synthesized CloudFormation template
See CONTRIBUTING for more information.
See CONTRIBUTING for more information.
This library is licensed under the MIT-0 License. See the LICENSE file.
This sample was developed by Grey Newell, a Senior Solutions Architect at AWS.