Created
May 6, 2024 09:38
-
-
Save tsh-code/33abf906d637a9292997f479d031b808 to your computer and use it in GitHub Desktop.
Single translation function stack.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { StackContext, Function } from "sst/constructs"; | |
export function Translations({ stack }: StackContext) { | |
const translationFn = new Function(stack, "TranslationLambda", { | |
runtime: "container", | |
handler: "packages/functions/src/translation", | |
memorySize: 6000, | |
diskSize: 1024, | |
timeout: "10 minutes", | |
}); | |
return { translationFn }; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment