From 11d02c3f12de4868ece189796e720aa8547777ba Mon Sep 17 00:00:00 2001 From: Laren-AWS Date: Thu, 17 Oct 2024 11:17:34 -0700 Subject: [PATCH] Update cdk folder name to .cdk in READMEs to match the actual folder name. --- gov2/workflows/user_pools_and_lambda_triggers/README.md | 4 ++-- workflows/user_pools_and_lambda_triggers/SPECIFICATION.md | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/gov2/workflows/user_pools_and_lambda_triggers/README.md b/gov2/workflows/user_pools_and_lambda_triggers/README.md index 3af162be28b..a038b21a829 100644 --- a/gov2/workflows/user_pools_and_lambda_triggers/README.md +++ b/gov2/workflows/user_pools_and_lambda_triggers/README.md @@ -67,7 +67,7 @@ The AWS resources for this example are deployed by using the AWS Cloud Developme To install the AWS CDK, follow the instructions in the [Developer Guide](https://docs.aws.amazon.com/cdk/v2/guide/home.html). -Deploy resources at a command prompt from the [cdk](cdk) folder: +Deploy resources at a command prompt from the [.cdk](.cdk) folder: ``` npm install @@ -86,7 +86,7 @@ go run ./cmd -scenario [auto_confirm migrate_user activity_log] Delete resources deployed for this example by deleting the stack. -Delete the stack at a command prompt from the [cdk](cdk) folder: +Delete the stack at a command prompt from the [.cdk](.cdk) folder: ``` cdk destroy diff --git a/workflows/user_pools_and_lambda_triggers/SPECIFICATION.md b/workflows/user_pools_and_lambda_triggers/SPECIFICATION.md index 2bde305a4de..3c09a5123a9 100644 --- a/workflows/user_pools_and_lambda_triggers/SPECIFICATION.md +++ b/workflows/user_pools_and_lambda_triggers/SPECIFICATION.md @@ -30,7 +30,7 @@ can be used as a reference for writing this example in other languages. ### Create AWS resources The `PoolsAndTriggersBase` CDK construct in the -[reference implementation for Go](../../gov2/workflows/user_pools_and_lambda_triggers/cdk/lib/pools-and-triggers-base.ts) +[reference implementation for Go](../../gov2/workflows/user_pools_and_lambda_triggers/.cdk/lib/pools-and-triggers-base.ts) folder creates all of the common AWS resources you need for this example: * Amazon DynamoDB table with a `UserEmail` primary key. @@ -40,7 +40,7 @@ folder creates all of the common AWS resources you need for this example: This construct is intended as a base script that you copy to your implementation and include in a stack that deploys Lambda handlers in the way that works best for your language. -For an example, see the [reference implementation for Go](../../gov2/workflows/user_pools_and_lambda_triggers/cdk/lib/pools-and-triggers-stack.ts). +For an example, see the [reference implementation for Go](../../gov2/workflows/user_pools_and_lambda_triggers/.cdk/lib/pools-and-triggers-stack.ts). Because most languages require a bootstrap environment that contains an S3 bucket for staging Lambda handlers, it's recommended that you use `cdk deploy` to deploy resources, but if your language supports it you can use