aws-cdk-lib
Version:
Version 2 of the AWS Cloud Development Kit library
42 lines (41 loc) • 1.72 kB
TypeScript
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 {
readonly providerName: string;
constructor(scope: Construct, id: string, props: UserPoolIdentityProviderGoogleProps);
}