From 7745d35a49e4f752efccb915a5271f68a931b5af Mon Sep 17 00:00:00 2001 From: ScottRobinson03 <114286962+ScottRobinson03@users.noreply.github.com> Date: Tue, 4 Apr 2023 18:44:28 +0100 Subject: [PATCH] docs(cognito): Fix minor typos in documentation (#24924) A tiny PR that just fixes two typos I happened to notice. ---- *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license* --- packages/aws-cdk-lib/aws-cognito/lib/user-pool-email.ts | 2 +- packages/aws-cdk-lib/aws-cognito/lib/user-pool.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/aws-cdk-lib/aws-cognito/lib/user-pool-email.ts b/packages/aws-cdk-lib/aws-cognito/lib/user-pool-email.ts index 4fcb484b19966..dd9a7c6ffc680 100644 --- a/packages/aws-cdk-lib/aws-cognito/lib/user-pool-email.ts +++ b/packages/aws-cdk-lib/aws-cognito/lib/user-pool-email.ts @@ -27,7 +27,7 @@ export interface UserPoolSESOptions { readonly fromName?: string; /** - * The destination to which the receiver of the email should reploy to. + * The destination to which the receiver of the email should reply to. * * @default - same as the fromEmail */ diff --git a/packages/aws-cdk-lib/aws-cognito/lib/user-pool.ts b/packages/aws-cdk-lib/aws-cognito/lib/user-pool.ts index 9976384247313..929409bc44f49 100644 --- a/packages/aws-cdk-lib/aws-cognito/lib/user-pool.ts +++ b/packages/aws-cdk-lib/aws-cognito/lib/user-pool.ts @@ -550,7 +550,7 @@ export interface UserPoolProps { readonly smsRole?: IRole; /** - * The 'ExternalId' that Cognito service must using when assuming the `smsRole`, if the role is restricted with an 'sts:ExternalId' conditional. + * The 'ExternalId' that Cognito service must be using when assuming the `smsRole`, if the role is restricted with an 'sts:ExternalId' conditional. * Learn more about ExternalId here - https://docs.aws.amazon.com/IAM/latest/UserGuide/id_roles_create_for-user_externalid.html * * This property will be ignored if `smsRole` is not specified.