UNPKG

@wheatstalk/aws-cdk-exec

Version:

An AWS CDK Cloud Assembly-aware command to help find and execute lambda functions and state machines

35 lines (34 loc) 856 B
import AWS from 'aws-sdk'; export interface IAwsSdk { /** * Get the CloudFormation client. */ cloudFormation(): AWS.CloudFormation; /** * Get the StepFunctions SDK client. */ stepFunctions(): AWS.StepFunctions; /** * Get the Lambda SDK client. */ lambda(): AWS.Lambda; } /** * Creates AWS SDK clients. */ export declare class AwsSdk implements IAwsSdk { cloudFormation(): AWS.CloudFormation; stepFunctions(): AWS.StepFunctions; lambda(): AWS.Lambda; } /** * List stack resources. */ export declare class LazyListStackResources { private readonly stackName; private readonly cloudFormation; private stackResources?; constructor(sdk: AwsSdk, stackName: string); listStackResources(): Promise<AWS.CloudFormation.StackResources>; private listStackResourcesActual; }