Files
personal_site/amplify/functions/python/resource.ts
T

9 lines
248 B
TypeScript
Raw Normal View History

2026-06-14 14:34:21 -04:00
import { defineFunction } from '@aws-amplify/backend'
export const pythonFunction = defineFunction({
name: 'python-function',
entry: '../../../functions/python-function/handler.py', // ← Points to external folder
runtime: 'python3.12'
})