MDAA TS Docs
    Preparing search index...

    Function discoverModuleCdkDir

    • Discover the directory the CDK CLI runs from for a given module by invoking mdaa in --testing mode (which prints the command it would run, prefixed with cd '<modulePath>' && npx cdk synth ...) without executing any synth. CDK reads cdk.context.json from this directory.

      Parameters

      • kitWorkDir: string
      • mdaaWorkingDir: string
      • cdkAccount: string
      • extraArgs: string

      Returns string | undefined