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

main
ts 14 lines 450 Bytes
Raw
1 import * as ec2 from "@distilled.cloud/aws/ec2";
2 import * as Layer from "effect/Layer";
3 import { makeInstanceHttpBinding } from "./BindingHttp.ts";
4 import { GetPasswordData } from "./GetPasswordData.ts";
5
6 export const GetPasswordDataHttp = Layer.effect(
7 GetPasswordData,
8 makeInstanceHttpBinding({
9 tag: "AWS.EC2.GetPasswordData",
10 operation: ec2.getPasswordData,
11 actions: ["ec2:GetPasswordData"],
12 requestKey: "InstanceId",
13 }),
14 );