Skip to main content

Cloudflare/pipelines

@swamp/cloudflare/pipelinesv2026.07.21.1· 5d agoMODELS
01README

Cloudflare pipelines infrastructure models

02Release Notes
  • Updated: pipelines_v2
  • Updated: pipelines
  • Updated: sinks
  • Updated: streams
03Models4
@swamp/cloudflare/pipelines/pipelinesv2026.07.21.1pipelines.ts

Global Arguments

ArgumentTypeDescription
account_idstringCloudflare account ID
namestringSpecifies the name of the Pipeline.
sqlstringSpecifies SQL for the Pipeline processing flow.
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 Pipelines
fn get(id: string)
Get a Pipelines
ArgumentTypeDescription
idstringThe ID of the Pipelines
fn lookup()
Look up an existing Pipelines by matching global argument values and import it into state
fn adopt(id: string)
Import an existing Pipelines by ID into state for management
ArgumentTypeDescription
idstringThe ID of the Pipelines to import
fn delete(id: string)
Delete the Pipelines
ArgumentTypeDescription
idstringThe ID of the Pipelines
fn sync(identifier?: string)
Sync Pipelines state from Cloudflare
ArgumentTypeDescription
identifier?stringTarget a specific Pipelines by id (e.g. one discovered by list)

Resources

state(infinite)— Pipelines resource state
@swamp/cloudflare/pipelines/pipelines-v2v2026.07.21.1pipelines_v2.ts

Global Arguments

ArgumentTypeDescription
account_idstringCloudflare account ID
destinationobject
namestringDefines the name of the pipeline.
sourcearray
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 Pipelines
fn get(id: string)
Get a Pipelines
ArgumentTypeDescription
idstringThe ID of the Pipelines
fn lookup()
Look up an existing Pipelines by matching global argument values and import it into state
fn adopt(id: string)
Import an existing Pipelines by ID into state for management
ArgumentTypeDescription
idstringThe ID of the Pipelines to import
fn update(identifier?: string)
Update Pipelines attributes
ArgumentTypeDescription
identifier?stringTarget a specific Pipelines by id (e.g. one discovered by list)
fn delete(id: string)
Delete the Pipelines
ArgumentTypeDescription
idstringThe ID of the Pipelines
fn sync(identifier?: string)
Sync Pipelines state from Cloudflare
ArgumentTypeDescription
identifier?stringTarget a specific Pipelines by id (e.g. one discovered by list)

Resources

state(infinite)— Pipelines resource state
@swamp/cloudflare/pipelines/sinksv2026.07.21.1sinks.ts

Global Arguments

ArgumentTypeDescription
account_idstringCloudflare account ID
config?object
format?object
namestringDefines the name of the Sink.
schema?object
typeenumSpecifies the type of sink.
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 Sinks
fn get(id: string)
Get a Sinks
ArgumentTypeDescription
idstringThe ID of the Sinks
fn lookup()
Look up an existing Sinks by matching global argument values and import it into state
fn adopt(id: string)
Import an existing Sinks by ID into state for management
ArgumentTypeDescription
idstringThe ID of the Sinks to import
fn delete(id: string)
Delete the Sinks
ArgumentTypeDescription
idstringThe ID of the Sinks
fn sync(identifier?: string)
Sync Sinks state from Cloudflare
ArgumentTypeDescription
identifier?stringTarget a specific Sinks by id (e.g. one discovered by list)

Resources

state(infinite)— Sinks resource state
@swamp/cloudflare/pipelines/streamsv2026.07.21.1streams.ts

Global Arguments

ArgumentTypeDescription
account_idstringCloudflare account ID
http?object
worker_binding?object
format?object
namestringSpecifies the name of the Stream.
schema?object
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 Streams
fn get(id: string)
Get a Streams
ArgumentTypeDescription
idstringThe ID of the Streams
fn lookup()
Look up an existing Streams by matching global argument values and import it into state
fn adopt(id: string)
Import an existing Streams by ID into state for management
ArgumentTypeDescription
idstringThe ID of the Streams to import
fn update(identifier?: string)
Update Streams attributes
ArgumentTypeDescription
identifier?stringTarget a specific Streams by id (e.g. one discovered by list)
fn delete(id: string)
Delete the Streams
ArgumentTypeDescription
idstringThe ID of the Streams
fn sync(identifier?: string)
Sync Streams state from Cloudflare
ArgumentTypeDescription
identifier?stringTarget a specific Streams by id (e.g. one discovered by list)

Resources

state(infinite)— Streams resource state
04Previous Versions4
2026.07.18.2

Added 4, removed 1 models

2026.06.08.2
  • Updated: pipelines_v2
  • Updated: pipelines
  • Updated: sinks
  • Updated: streams
2026.05.29.1
  • Updated: pipelines_v2
  • Updated: pipelines
  • Updated: sinks
  • Updated: streams
2026.05.22.1
  • Added: pipelines_v2
  • Added: pipelines
  • Added: sinks
  • Added: streams
05Stats
A
100 / 100
Downloads
0
Archive size
21.3 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