Skip to content

Cloudflare Linkable helper

Reference doc for the `sst.cloudflare.binding` helper.

The Cloudflare Binding Linkable helper is used to define the Cloudflare bindings included with the sst.Linkable component.

sst.cloudflare.binding({
type: "r2BucketBindings",
properties: {
bucketName: "my-bucket"
}
})

Functions

binding

D1DatabaseBinding

properties

Type Object

properties.databaseId

Type Input<string>

type

Type d1DatabaseBindings

KvBinding

properties

Type Object

properties.namespaceId

Type Input<string>

type

Type kvNamespaceBindings

PlainTextBinding

properties

Type Object

properties.text

Type Input<string>

type

Type plainTextBindings

QueueBinding

properties

Type Object

properties.queue

Type Input<string>

type

Type queueBindings

R2BucketBinding

properties

Type Object

properties.bucketName

Type Input<string>

type

Type r2BucketBindings

SecretTextBinding

properties

Type Object

properties.text

Type Input<string>

type

Type secretTextBindings

ServiceBinding

properties

Type Object

properties.service

Type Input<string>

type

Type serviceBindings