Represents an identity provider that integrates with Google.
import { UserPoolIdentityProviderGoogle } from 'aws-cdk-lib/aws-cognito';Or use the module namespace:
import * as cognito from 'aws-cdk-lib/aws-cognito';
// cognito.UserPoolIdentityProviderGoogleConfiguration passed to the constructor as UserPoolIdentityProviderGoogleProps.
clientIdRequiredstringThe client id recognized by Google APIs.
clientSecretOptionalDeprecatedstringThe client secret to be accompanied with clientId for Google APIs to authenticate the client.
Default: none
Deprecated: use clientSecretValue instead
clientSecretValueOptionalSecretValueThe client secret to be accompanied with clientId for Google APIs to authenticate the client as SecretValue.
Default: none
scopesOptionalstring[]The list of Google permissions to obtain for getting access to the Google profile.
Default: [ profile ]
UserPoolIdentityProviderPropsuserPoolRequiredinherited from UserPoolIdentityProviderPropsIUserPoolThe user pool to which this construct provides identities.
attributeMappingOptionalinherited from UserPoolIdentityProviderPropsAttributeMappingMapping attributes from the identity provider to standard and custom attributes of the user pool.
Default: - no attribute mapping
Everything you need to know about Amazon Cognito on one page. HD quality, print-friendly.
Download Free Infographicaws-cognito