MCPcopy Index your code
hub / github.com/cargo-lambda/cargo-lambda-cdk / templateWithProps

Function templateWithProps

test/bundlingOptions.test.ts:60–67  ·  view source on GitHub ↗
(props?: RustFunctionProps)

Source from the content-addressed store, hash-verified

58};
59
60const templateWithProps = (props?: RustFunctionProps) => {
61 const app = new App();
62 const stack = new Stack(app);
63
64 new RustFunction(stack, 'arm-64-set-via-lambda-architecture', { manifestPath: getTestManifestPath(), ...props });
65
66 return Template.fromStack(stack);
67};
68
69describe('CargoLambda.RustFunction', () => {
70 describe('Without an explicitly set lambda architecture', () => {

Callers 1

Calls 1

getTestManifestPathFunction · 0.85

Tested by

no test coverage detected