import { App, StageSynthesisOptions } from "aws-cdk-lib"; import { CloudAssembly } from "aws-cdk-lib/cx-api"; /** * Deploy props for apps. */ export interface DebugAppDeployProps { /** * The app name, used to prefix stacks. */ name: string; /** * The stage to deploy this app to. */ stage: string; /** * The region to deploy this app to. */ region: string; } /** * The DebugApp construct is used internally by SST to create the resources needed to power Live Lambda Development. */ export declare class DebugApp extends App { /** * The name of the app. This comes from the `name` in your `sst.json`. */ readonly name: string; /** * The stage the app is being deployed to. If this is not specified as the [`--stage`](/packages/cli.md#--stage) option, it'll default to the stage configured during the initial run of the SST CLI. */ readonly stage: string; /** * The region the app is being deployed to. If this is not specified as the [`--region`](/packages/cli.md#--region) option in the SST CLI, it'll default to the `region` in your `sst.json`. */ readonly region: string; /** * The AWS account the app is being deployed to. This comes from the IAM credentials being used to run the SST CLI. */ readonly account: string; /** * @internal */ constructor(deployProps: DebugAppDeployProps); synth(options?: StageSynthesisOptions): CloudAssembly; /** * Use this method to prefix resource names in your stacks to make sure they don't thrash when deployed to different stages in the same AWS account. This method will prefix a given resource name with the stage and app name. Using the format `${stage}-${name}-${logicalName}`. */ logicalPrefixedName(logicalName: string): string; }