Skip to content

Commit

Permalink
docs(cognito): Correct incorrect attribute names in the docs (aws#12969)
Browse files Browse the repository at this point in the history
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*
  • Loading branch information
peavers authored Feb 10, 2021
1 parent 55549ef commit 01a05db
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions packages/@aws-cdk/aws-cognito/lib/user-pool-idps/base.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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');

/**
Expand Down Expand Up @@ -195,4 +195,4 @@ export interface UserPoolIdentityProviderProps {
* @default - no attribute mapping
*/
readonly attributeMapping?: AttributeMapping;
}
}

0 comments on commit 01a05db

Please sign in to comment.