35 lines
1.5 KiB
TypeScript
35 lines
1.5 KiB
TypeScript
import type { Construct } from 'constructs';
|
|
import type { 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 {
|
|
/** Uniquely identifies this class. */
|
|
static readonly PROPERTY_INJECTION_ID: string;
|
|
readonly providerName: string;
|
|
constructor(scope: Construct, id: string, props: UserPoolIdentityProviderAmazonProps);
|
|
}
|