| 1 | import * as microvms from "@distilled.cloud/aws/lambda-microvms"; |
| 2 | import { CreateAuthToken } from "./CreateAuthToken.ts"; |
| 3 | import { makeImageBinding } from "./MicrovmBinding.ts"; |
| 4 | |
| 5 | export const CreateAuthTokenHttp = makeImageBinding({ |
| 6 | binding: CreateAuthToken, |
| 7 | name: "CreateAuthToken", |
| 8 | actions: ["lambda:CreateMicrovmAuthToken"], |
| 9 | operation: microvms.createMicrovmAuthToken, |
| 10 | scope: "microvm", |
| 11 | }); |