@devries-cameron20 / t3code Mirror · read-only
Fork 0

The best way to control Claude Code, Codex and more from any computer or phone

Mirrored from https://github.com/Camo67/t3code.git

Synced Nov 21, 04:45 UTC

main
ts 13 lines 491 Bytes
Raw
1 import * as microvms from "@distilled.cloud/aws/lambda-microvms";
2 import { GetMicrovm } from "./GetMicrovm.ts";
3 import { makeImageBinding } from "./MicrovmBinding.ts";
4
5 export const GetMicrovmHttp = makeImageBinding({
6 binding: GetMicrovm,
7 name: "GetMicrovm",
8 actions: ["lambda:GetMicrovm"],
9 operation: microvms.getMicrovm,
10 // MicroVM instance ARNs are minted at runtime; scope to the image's
11 // `microvm:*` glob (this account/region) rather than `["*"]`.
12 scope: "microvm",
13 });