UNPKG

@aws-cdk-testing/cli-integ

Version:

Integration tests for the AWS CDK CLI

16 lines (15 loc) 738 B
import * as toolkit from '@aws-cdk/toolkit-lib'; import type { AwsContext, TestFixture } from '../../lib'; /** * Create a toolkit that's initialized from the given fixture * * Will use specific (Atmosphere-provided) credentials if they're available, and * fall back to SDK-compatible credentials otherwise. */ export declare function toolkitFromFixture(fixture: AwsContext, options?: Omit<toolkit.ToolkitOptions, 'sdkConfig'>): toolkit.Toolkit; /** * Helper function to convert a CDK app directory into an Assembly Source * * This will eventually become part of the toolkit itself, but isn't yet. */ export declare function assemblyFromCdkAppDir(tk: toolkit.Toolkit, fixture: TestFixture): Promise<toolkit.ICloudAssemblySource>;