aws-cdk
Version:
AWS CDK CLI, the command line tool for CDK apps
22 lines (21 loc) • 544 B
TypeScript
import type { StackDetails } from '@aws-cdk/tmp-toolkit-helpers';
import type { CdkToolkit } from '../cli/cdk-toolkit';
/**
* Options for List Stacks
*/
export interface ListStacksOptions {
/**
* Stacks to list
*
* @default - All stacks are listed
*/
readonly selectors: string[];
}
/**
* List Stacks
*
* @param toolkit cdk toolkit
* @param options list stacks options
* @returns StackDetails[]
*/
export declare function listStacks(toolkit: CdkToolkit, options: ListStacksOptions): Promise<StackDetails[]>;