From 01a05dbc9d40883a5b1db723db825ca322479733 Mon Sep 17 00:00:00 2001 From: Chris Turner Date: Wed, 10 Feb 2021 16:49:40 +0000 Subject: [PATCH] docs(cognito): Correct incorrect attribute names in the docs (#12969) Minor: Set correct field names for doc-blocks. *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license* --- .../@aws-cdk/aws-cognito/lib/user-pool-idps/base.ts | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/packages/@aws-cdk/aws-cognito/lib/user-pool-idps/base.ts b/packages/@aws-cdk/aws-cognito/lib/user-pool-idps/base.ts index 27ee88777d885..be155fca69a6d 100644 --- a/packages/@aws-cdk/aws-cognito/lib/user-pool-idps/base.ts +++ b/packages/@aws-cdk/aws-cognito/lib/user-pool-idps/base.ts @@ -38,17 +38,17 @@ export class ProviderAttribute { public static readonly GOOGLE_GENDER = new ProviderAttribute('gender'); /** The birthday attribute provided by Google */ public static readonly GOOGLE_BIRTHDAYS = new ProviderAttribute('birthdays'); - /** The birthday attribute provided by Google */ + /** The phone number attribute provided by Google */ public static readonly GOOGLE_PHONE_NUMBERS = new ProviderAttribute('phoneNumbers'); /** The email attribute provided by Google */ public static readonly GOOGLE_EMAIL = new ProviderAttribute('email'); /** The name attribute provided by Google */ public static readonly GOOGLE_NAME = new ProviderAttribute('name'); - /** The email attribute provided by Google */ + /** The picture attribute provided by Google */ public static readonly GOOGLE_PICTURE = new ProviderAttribute('picture'); - /** The email attribute provided by Google */ + /** The given name attribute provided by Google */ public static readonly GOOGLE_GIVEN_NAME = new ProviderAttribute('given_name'); - /** The email attribute provided by Google */ + /** The family name attribute provided by Google */ public static readonly GOOGLE_FAMILY_NAME = new ProviderAttribute('family_name'); /** @@ -195,4 +195,4 @@ export interface UserPoolIdentityProviderProps { * @default - no attribute mapping */ readonly attributeMapping?: AttributeMapping; -} \ No newline at end of file +}