Use this example Go stack to try out the datadog-cdk-constructs v2 library for Step Functions.
- Get a Datadog API key to send monitoring data (Datadog API keys documentation).
- Run
export DD_API_KEY=<DATADOG_API_KEY>to set the Datadog API key in your shell session. - Set up Datadog forwarder (Datadog Forwarder documentation).
- Run
export DD_FORWARDER_ARN=<DD_FORWARDER_ARN>to set the Datadog forwarder ARN in your shell session. - Run
cdk synthto synthesize the CloudFormation template. - Run
cdk diffto see the resource and permission changes that are made. - Run
cdk deployto deploy the stack to AWS. - Invoke your Lambda functions and look for them in Datadog Serverless Monitoring.
This demo project was created and modified from Tutorial: Create your first AWS CDK app
