24 lines
776 B
TypeScript
24 lines
776 B
TypeScript
import type { Construct } from 'constructs';
|
|
import type { IResource } from '../../core';
|
|
import type { IUserPoolIdentityProviderRef } from '../../interfaces/generated/aws-cognito-interfaces.generated';
|
|
/**
|
|
* Represents a UserPoolIdentityProvider
|
|
*/
|
|
export interface IUserPoolIdentityProvider extends IResource, IUserPoolIdentityProviderRef {
|
|
/**
|
|
* The primary identifier of this identity provider
|
|
* @attribute
|
|
*/
|
|
readonly providerName: string;
|
|
}
|
|
/**
|
|
* User pool third-party identity providers
|
|
*/
|
|
export declare class UserPoolIdentityProvider {
|
|
/**
|
|
* Import an existing UserPoolIdentityProvider
|
|
*/
|
|
static fromProviderName(scope: Construct, id: string, providerName: string): IUserPoolIdentityProvider;
|
|
private constructor();
|
|
}
|