Cloudflare Docs
Workers
Visit Workers on GitHub
Set theme to dark (⇧+D)

Bindings

Bindings allow your Workers to interact with resources on the Workers platform.

There are multiple types of bindings available today.

​​ Configuration

Bindings can be configured by one of two ways:

​​ Service bindings

Service bindings allow for communication with another Worker.

​​ KV namespace bindings

KV namespace bindings allow for communication between a Worker and a KV namespace.

​​ Durable Object bindings

Durable Object bindings for communication between a Worker and a Durable Object.

​​ R2 bucket bindings

R2 bucket bindings for communication between a Worker and an R2 bucket.

​​ Queue bindings

Queue bindings allow for communication between a Worker and a Queue.

​​ Dispatch namespace bindings (Workers for Platforms)

Dispatch namespace bindings allow for communication between a dynamic dispatch Worker and a dispatch namespace. Dispatch namespace bindings are used in Workers for Platforms. Workers for Platforms helps you deploy serverless functions programmatically on behalf of your customers.