counter-cdk. The CDK CLI uses this directory name to name things in your CDK code, so if you decide to use a different name, don’t forget to make the appropriate changes when applying this tutorial.
@upstash/redis.
/api/counter.ts.
/lib/counter-cdk-stack.ts.
UPSTASH_REDIS_REST_URL and UPSTASH_REDIS_REST_TOKEN to your environment.