aws-cdk-lib
Version:
Version 2 of the AWS Cloud Development Kit library
9 lines (8 loc) • 486 B
TypeScript
import type { IUserPoolIdentityProviderRef, IUserPoolRef } from '../cognito.generated';
import type { IUserPool } from '../user-pool';
import type { IUserPoolIdentityProvider } from '../user-pool-idp';
/**
* Converts an IUserPoolRef to IUserPool, validating that it implements the full interface
*/
export declare function toIUserPool(ref: IUserPoolRef): IUserPool;
export declare function isIUserPoolIdentityProvider(x: IUserPoolIdentityProviderRef): x is IUserPoolIdentityProvider;