UNPKG

aws-cdk-lib

Version:

Version 2 of the AWS Cloud Development Kit library

44 lines (43 loc) 1.81 kB
import { Construct } from 'constructs'; import { UserPoolIdentityProviderProps } from './base'; import { UserPoolIdentityProviderBase } from './private/user-pool-idp-base'; import { SecretValue } from '../../../core'; /** * Properties to initialize UserPoolGoogleIdentityProvider */ export interface UserPoolIdentityProviderGoogleProps extends UserPoolIdentityProviderProps { /** * The client id recognized by Google APIs. * @see https://developers.google.com/identity/sign-in/web/sign-in#specify_your_apps_client_id */ readonly clientId: string; /** * 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 * @default none * @deprecated use clientSecretValue instead */ readonly clientSecret?: string; /** * The client secret to be accompanied with clientId for Google APIs to authenticate the client as SecretValue * @see https://developers.google.com/identity/sign-in/web/sign-in * @default none */ readonly clientSecretValue?: SecretValue; /** * The list of Google permissions to obtain for getting access to the Google profile * @see https://developers.google.com/identity/sign-in/web/sign-in * @default [ profile ] */ readonly scopes?: string[]; } /** * Represents an identity provider that integrates with Google * @resource AWS::Cognito::UserPoolIdentityProvider */ export declare class UserPoolIdentityProviderGoogle extends UserPoolIdentityProviderBase { /** Uniquely identifies this class. */ static readonly PROPERTY_INJECTION_ID: string; readonly providerName: string; constructor(scope: Construct, id: string, props: UserPoolIdentityProviderGoogleProps); }