UNPKG

aws-cdk-lib

Version:

Version 2 of the AWS Cloud Development Kit library

33 lines (32 loc) 1.4 kB
import { Construct } from 'constructs'; import { UserPoolIdentityProviderProps } from './base'; import { UserPoolIdentityProviderBase } from './private/user-pool-idp-base'; /** * Properties to initialize UserPoolAmazonIdentityProvider */ export interface UserPoolIdentityProviderAmazonProps extends UserPoolIdentityProviderProps { /** * The client id recognized by Login with Amazon APIs. * @see https://developer.amazon.com/docs/login-with-amazon/security-profile.html#client-identifier */ readonly clientId: string; /** * The client secret to be accompanied with clientId for Login with Amazon APIs to authenticate the client. * @see https://developer.amazon.com/docs/login-with-amazon/security-profile.html#client-identifier */ readonly clientSecret: string; /** * The types of user profile data to obtain for the Amazon profile. * @see https://developer.amazon.com/docs/login-with-amazon/customer-profile.html * @default [ profile ] */ readonly scopes?: string[]; } /** * Represents an identity provider that integrates with Login with Amazon * @resource AWS::Cognito::UserPoolIdentityProvider */ export declare class UserPoolIdentityProviderAmazon extends UserPoolIdentityProviderBase { readonly providerName: string; constructor(scope: Construct, id: string, props: UserPoolIdentityProviderAmazonProps); }