@aws-amplify/cli-internal
Version:
Amplify CLI
25 lines • 1.03 kB
TypeScript
import { Stack, StackResourceSummary } from '@aws-sdk/client-cloudformation';
import { AwsClients } from '../_common/aws-clients';
import { CFNTemplate } from '../_common/cfn-template';
interface IdpConfig {
readonly providerName: string;
readonly providerType: string;
}
export interface SocialAuthConfig {
readonly userPoolId: string;
readonly domain: string;
readonly providers: IdpConfig[];
}
export declare class StackFacade {
private readonly clients;
readonly rootStackName: string;
constructor(clients: AwsClients, rootStackName: string);
fetchNestedStacks(): Promise<StackResourceSummary[]>;
fetchTemplate(stackId: string): Promise<CFNTemplate>;
fetchStack(stackId: string): Promise<Stack>;
fetchStackResources(stackId: string): Promise<StackResourceSummary[]>;
fetchUserPoolId(stackId: string): Promise<string | undefined>;
fetchSocialAuthConfig(userPoolId: string): Promise<SocialAuthConfig | undefined>;
}
export {};
//# sourceMappingURL=stack-facade.d.ts.map