Skip to content

Open-source Grok Bot alternative for named AI teammates. Local-first desktop, web, and mobile clients with per-bot tools, instructions, and memory. Independent fork of T3 Code.

496 B
Raw Blame
import * as cloudfront from "@distilled.cloud/aws/cloudfront";
import * as Layer from "effect/Layer";
import { makeDistributionScopedHttpBinding } from "./BindingHttp.ts";
import { CreateInvalidation } from "./CreateInvalidation.ts";

export const CreateInvalidationHttp = Layer.effect(
  CreateInvalidation,
  makeDistributionScopedHttpBinding({
    tag: "AWS.CloudFront.CreateInvalidation",
    operation: cloudfront.createInvalidation,
    actions: ["cloudfront:CreateInvalidation"],
  }),
);