UserPoolIdentityProviderGoogleProps

class aws_cdk.aws_cognito.UserPoolIdentityProviderGoogleProps(*, user_pool, attribute_mapping=None, client_id, client_secret, scopes=None)

Bases: aws_cdk.aws_cognito.UserPoolIdentityProviderProps

Properties to initialize UserPoolGoogleIdentityProvider.

Parameters
  • user_pool (IUserPool) – The user pool to which this construct provides identities.

  • attribute_mapping (Optional[AttributeMapping]) – Mapping attributes from the identity provider to standard and custom attributes of the user pool. Default: - no attribute mapping

  • client_id (str) – The client id recognized by Google APIs.

  • client_secret (str) – The client secret to be accompanied with clientId for Google APIs to authenticate the client.

  • scopes (Optional[List[str]]) – The list of google permissions to obtain for getting access to the google profile. Default: [ profile ]

Attributes

attribute_mapping

Mapping attributes from the identity provider to standard and custom attributes of the user pool.

Default
  • no attribute mapping

Return type

Optional[AttributeMapping]

client_id

The client id recognized by Google APIs.

See

https://developers.google.com/identity/sign-in/web/sign-in#specify_your_apps_client_id

Return type

str

client_secret

The client secret to be accompanied with clientId for Google APIs to authenticate the client.

See

https://developers.google.com/identity/sign-in/web/sign-in

Return type

str

scopes

The list of google permissions to obtain for getting access to the google profile.

Default

[ profile ]

See

https://developers.google.com/identity/sign-in/web/sign-in

Return type

Optional[List[str]]

user_pool

The user pool to which this construct provides identities.

Return type

IUserPool