1 | import * as cxapi from '@aws-cdk/cx-api';
|
2 | import type { SDK } from './aws-auth';
|
3 | import { type CloudFormationStack } from './deployments/cloudformation';
|
4 | export declare const DEFAULT_TOOLKIT_STACK_NAME = "CDKToolkit";
|
5 |
|
6 |
|
7 |
|
8 |
|
9 |
|
10 |
|
11 |
|
12 |
|
13 |
|
14 |
|
15 |
|
16 |
|
17 |
|
18 |
|
19 |
|
20 |
|
21 |
|
22 |
|
23 |
|
24 |
|
25 |
|
26 |
|
27 |
|
28 | export declare abstract class ToolkitInfo {
|
29 | static determineName(overrideName?: string): string;
|
30 | static lookup(environment: cxapi.Environment, sdk: SDK, stackName: string | undefined): Promise<ToolkitInfo>;
|
31 | static fromStack(stack: CloudFormationStack): ToolkitInfo;
|
32 | static bootstrapStackNotFoundInfo(stackName: string): ToolkitInfo;
|
33 | static bootstrapStackLookupError(stackName: string, e: Error): ToolkitInfo;
|
34 | abstract readonly found: boolean;
|
35 | abstract readonly bucketUrl: string;
|
36 | abstract readonly bucketName: string;
|
37 | abstract readonly repositoryName: string;
|
38 | abstract readonly version: number;
|
39 | abstract readonly variant: string;
|
40 | abstract readonly bootstrapStack: CloudFormationStack;
|
41 | abstract readonly stackName: string;
|
42 | constructor();
|
43 | }
|
44 | export interface EcrRepositoryInfo {
|
45 | repositoryUri: string;
|
46 | }
|
47 | export interface EcrCredentials {
|
48 | username: string;
|
49 | password: string;
|
50 | endpoint: string;
|
51 | }
|