Hyperdrive
Cloudflare Hyperdrive accelerates access to existing databases with connection pooling and global caching.Props
string
Name of the Hyperdrive configuration.
HyperdriveOriginInput
required
Database connection origin configuration.Can be:
- Connection string (e.g.,
"postgres://user:pass@host:5432/db") - Secret containing connection string
HyperdrivePublicOriginobjectHyperdriveOriginWithAccessobject
HyperdriveCaching
Caching configuration.
HyperdriveMtls
mTLS configuration for Hyperdrive.
boolean
default:"false"
Whether to adopt an existing hyperdrive config.
boolean
default:"true"
Whether to delete the hyperdrive config when the resource is deleted.
Output
string
The ID of the resource.
string
Name of the Hyperdrive configuration.
string
The Cloudflare-generated UUID of the hyperdrive.
HyperdrivePublicOrigin | HyperdriveOriginWithAccess
Database connection origin configuration.
hyperdrive
Type identifier for the binding.