1 | import * as api from 'aws-cdk-lib/cx-api';
|
2 | import { Assertion } from './assertion';
|
3 | import { MatchStyle } from './assertions/match-template';
|
4 | export declare abstract class Inspector {
|
5 | aroundAssert?: (cb: () => void) => any;
|
6 | constructor();
|
7 | to(assertion: Assertion<this>): any;
|
8 | notTo(assertion: Assertion<this>): any;
|
9 | abstract get value(): any;
|
10 | private _to;
|
11 | }
|
12 | export declare class StackInspector extends Inspector {
|
13 | readonly stack: api.CloudFormationStackArtifact | object;
|
14 | private readonly template;
|
15 | constructor(stack: api.CloudFormationStackArtifact | object);
|
16 | at(path: string | string[]): StackPathInspector;
|
17 | toMatch(template: {
|
18 | [key: string]: any;
|
19 | }, matchStyle?: MatchStyle): any;
|
20 | get value(): {
|
21 | [key: string]: any;
|
22 | };
|
23 | }
|
24 | export declare class StackPathInspector extends Inspector {
|
25 | readonly stack: api.CloudFormationStackArtifact;
|
26 | readonly path: string;
|
27 | constructor(stack: api.CloudFormationStackArtifact, path: string);
|
28 | get value(): {
|
29 | [key: string]: any;
|
30 | } | undefined;
|
31 | }
|