MCPcopy Create free account
hub / github.com/cargo-lambda/cargo-lambda-cdk / BundlingProps

Interface BundlingProps

src/bundling.ts:14–36  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

12 * Options for bundling
13 */
14export interface BundlingProps extends BundlingOptions {
15 /**
16 * Path to a directory containing your Cargo.toml file, or to your Cargo.toml directly.
17 *
18 * This will accept either a directory path containing a `Cargo.toml` file
19 * or a filepath to your `Cargo.toml` file (i.e. `path/to/Cargo.toml`).
20 *
21 * This will be used as the source of the volume mounted in the Docker
22 * container and will be the directory where it will run `cargo lambda build` from.
23 *
24 */
25 readonly manifestPath: string;
26
27 /**
28 * The name of the binary to build, in case that's different than the package's name.
29 */
30 readonly binaryName?: string;
31
32 /**
33 * Whether the code to compile is a Lambda Extension or not.
34 */
35 readonly lambdaExtension?: boolean;
36}
37
38interface CommandOptions {
39 readonly inputDir: string;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected