@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 15 lines 548 Bytes
Raw
1 import * as amplify from "@distilled.cloud/aws/amplify";
2 import * as Output from "alchemy/Output";
3 import * as Layer from "effect/Layer";
4 import { makeAmplifyHttpBinding } from "./BindingHttp.ts";
5 import { CreateDeployment } from "./CreateDeployment.ts";
6
7 export const CreateDeploymentHttp = Layer.effect(
8 CreateDeployment,
9 makeAmplifyHttpBinding({
10 name: "CreateDeployment",
11 operation: amplify.createDeployment,
12 actions: ["amplify:CreateDeployment"],
13 resources: (app) => [Output.interpolate`${app.appArn}/branches/*`],
14 }),
15 );