Skip to content
Source
Sign inSign up
pingdotgg/t3code
Open History to see the last commit

CreateResourceHttp.ts

13 lines468 Bytes

1import * as cloudcontrol from "@distilled.cloud/aws/cloudcontrol";
2import * as Layer from "effect/Layer";
3import { makeCloudControlHttpBinding } from "./BindingHttp.ts";
4import { CreateResource } from "./CreateResource.ts";
5​
6export const CreateResourceHttp = Layer.effect(
7 CreateResource,
8 makeCloudControlHttpBinding({
9 tag: "AWS.CloudControl.CreateResource",
10 operation: cloudcontrol.createResource,
11 actions: ["cloudformation:CreateResource"],
12 }),
13);