From afc70bd010686e0805c4d132f206a86ba6aa917a Mon Sep 17 00:00:00 2001 From: Dean Foran Date: Mon, 14 Mar 2022 13:17:01 +0000 Subject: [PATCH] docs(aws-cognito): Docstring naming for userpool interface property (#19376) # Summary Fix the incorrect property name for the **MfaSecondFactor** interface on the UserPool Class doc-strings. >Fixes the below issue #19375 ---- *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license* --- packages/@aws-cdk/aws-cognito/lib/user-pool.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/@aws-cdk/aws-cognito/lib/user-pool.ts b/packages/@aws-cdk/aws-cognito/lib/user-pool.ts index 59f3ce09f2057..1db90ae1c2119 100644 --- a/packages/@aws-cdk/aws-cognito/lib/user-pool.ts +++ b/packages/@aws-cdk/aws-cognito/lib/user-pool.ts @@ -585,8 +585,8 @@ export interface UserPoolProps { /** * Configure the MFA types that users can use in this user pool. Ignored if `mfa` is set to `OFF`. * - * @default - { sms: true, oneTimePassword: false }, if `mfa` is set to `OPTIONAL` or `REQUIRED`. - * { sms: false, oneTimePassword: false }, otherwise + * @default - { sms: true, otp: false }, if `mfa` is set to `OPTIONAL` or `REQUIRED`. + * { sms: false, otp: false }, otherwise */ readonly mfaSecondFactor?: MfaSecondFactor;