Skip to main content

Cloudflare/resource Library

@swamp/cloudflare/resource-libraryv2026.10.06.1· 1d agoMODELS
01README

Cloudflare resource-library infrastructure models

02Release Notes
  • Updated: applications
03Models1
@swamp/cloudflare/resource-library/applicationsv2026.10.06.1applications.ts

Global Arguments

ArgumentTypeDescription
account_idstringCloudflare account ID
hostnames?arrayHostnames matched by the application.
ip_subnets?arrayIP subnets for this application. Custom application create and update requests accept IPv4 prefix lengths /8 through /32 and IPv6 prefix lengths /32 through /128.
port_protocols?arrayPorts matched by the application, in `protocol/port` or inclusive `protocol/start-end` format (for example, `tcp/443` or `udp/10000-20000`). TCP and UDP ports must be between 0 and 65535.
support_domains?arraySupport domains matched by the application.
category_id?numberNumeric identifier for an application category.
human_id?stringHuman-readable identifier for the application.
name?stringApplication name.
apiToken?stringCloudflare API token; overrides the CLOUDFLARE_API_TOKEN environment variable. Wire with a vault.get(...) expression to source it from a vault.
apiKey?stringCloudflare API key for the legacy key+email auth path; overrides the CLOUDFLARE_API_KEY environment variable. Wire with a vault.get(...) expression. Requires email.
email?stringCloudflare account email for the legacy key+email auth path; overrides the CLOUDFLARE_EMAIL environment variable. Requires apiKey.
fn create()
Create a Applications
fn get(id: string)
Get a Applications
ArgumentTypeDescription
idstringThe ID of the Applications
fn lookup()
Look up an existing Applications by matching global argument values and import it into state
fn adopt(id: string)
Import an existing Applications by ID into state for management
ArgumentTypeDescription
idstringThe ID of the Applications to import
fn update(identifier?: string)
Update Applications attributes
ArgumentTypeDescription
identifier?stringTarget a specific Applications by id (e.g. one discovered by list)
fn delete(id: string)
Delete the Applications
ArgumentTypeDescription
idstringThe ID of the Applications
fn sync(identifier?: string)
Sync Applications state from Cloudflare
ArgumentTypeDescription
identifier?stringTarget a specific Applications by id (e.g. one discovered by list)

Resources

state(infinite)— Applications resource state
04Previous Versions3
2026.09.29.1
  • Updated: applications
2026.09.24.1
  • Updated: applications
2026.08.15.1
  • Added: applications
05Stats
A
100 / 100
Downloads
14
Archive size
9.9 KB
Verified by Swamp
  • Has README or module doc2/2earned
  • README has a code example1/1earned
  • README is substantive1/1earned
  • Most symbols documented1/1earned
  • No slow types (deprecated)1/1earned
  • Dependencies pass trust audit2/2earned
  • Has description1/1earned
  • Platform support declared (or universal)2/2earned
  • License declared1/1earned
  • Verified public repository2/2earned
06Platforms
07Labels