AccessTag
Source:
src/Cloudflare/Access/Tag.ts
A Cloudflare Zero Trust Access tag. Tags are plain labels that can be attached to Access applications to group and filter them.
The tag’s name is its identity — there is nothing to update in place, so renaming replaces the tag.
Creating a Tag
Section titled “Creating a Tag”Tag with a generated name
const tag = yield* Cloudflare.AccessTag("Team", {});Tag with an explicit name
const tag = yield* Cloudflare.AccessTag("Team", { name: "platform-team",});Tagging an Application
Section titled “Tagging an Application”const tag = yield* Cloudflare.AccessTag("Team", { name: "platform-team" });
const app = yield* Cloudflare.AccessApplication("Dashboard", { type: "self_hosted", domain: "dash.example.com", tags: [tag.name],});