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

9 lines
245 B
TypeScript
Raw Normal View History

2026-06-14 14:34:21 -04:00
import { defineFunction } from '@aws-amplify/backend'
export const rustFunction = defineFunction({
name: 'rust-function',
entry: '../../../functions/rust-function/src/main.rs', // ← Points to external folder
runtime: 'provided.al2'
})