We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 68e1088 commit ff1f1acCopy full SHA for ff1f1ac
src/pages/[platform]/build-a-backend/functions/custom-functions/index.mdx
@@ -114,6 +114,8 @@ import { defineFunction } from "@aws-amplify/backend";
114
import { DockerImage, Duration } from "aws-cdk-lib";
115
import { Code, Function, Runtime } from "aws-cdk-lib/aws-lambda";
116
117
+const functionDir = path.dirname(fileURLToPath(import.meta.url));
118
+
119
export const sayHelloFunctionHandler = defineFunction(
120
(scope) =>
121
new Function(scope, "say-hello", {
0 commit comments