Configuration explorer·续3

<details>

<summary>Options (2)</summary>

<dl>

<dt><code>id?: string</code></dt> <dd>The ID of the KV namespace.</dd>

<dt><code>dev?: BindingDevOptions</code></dt> <dd>Options that only apply during local development.</dd></dl></details>

</details>

<details>

<summary>MY_LOGFWDR: bindings.logfwdr({ (logfwdr reference)</summary>

<code>logfwdr</code>Builder<a href="#config-reference-bindings-bindings-logfwdr-default">Link to logfwdr</a>

<code>logfwdr(options: LogfwdrBindingOptions): LogfwdrBinding;</code>

Binding for forwarding logs to logfwdr.

<details>

<summary>Options (1)</summary>

<dl>

<dt><code>destination: string</code></dt> <dd>The destination for this logged message.</dd></dl></details>

</details>

<details>

<summary>destination: "my-destination", (destination reference)</summary>

<code>destination</code>Required<a href="#config-reference-bindings-bindings-logfwdr-default-destination">Link to destination</a>

<code>destination: string</code>

The destination for this logged message.

</details>

}),

<details>

<summary>MY_MEDIA: bindings.media(), (media reference)</summary>

<code>media</code>Builder<a href="#config-reference-bindings-bindings-media-default">Link to media</a>

<code>media(options?: MediaBindingOptions): MediaBinding$1;</code>

Binding to Cloudflare Media Transformations.

<details>

<summary>Options (1)</summary>

<dl>

<dt><code>dev?: BindingDevOptions</code></dt> <dd>Options that only apply during local development.</dd></dl></details>

</details>

<details>

<summary>MY_MTLS_CERTIFICATE: bindings.mtlsCertificate({ (mtlsCertificate reference)</summary>

<code>mtlsCertificate</code>Builder<a href="#config-reference-bindings-bindings-mtlscertificate-default">Link to mtlsCertificate</a>

<code>mtlsCertificate(options: MtlsCertificateBindingOptions): MtlsCertificateBinding;</code>

Binding to an uploaded mTLS certificate. For reference, see <a href="https://developers.cloudflare.com/workers/wrangler/configuration/#mtls-certificates">https://developers.cloudflare.com/workers/wrangler/configuration/#mtls-certificates</a>

<details>

<summary>Options (2)</summary>

<dl>

<dt><code>id: string</code></dt> <dd>The UUID of the uploaded mTLS certificate.</dd>

<dt><code>dev?: BindingDevOptions</code></dt> <dd>Options that only apply during local development.</dd></dl></details>

</details>

<details>

<summary>id: "resource-id", (id reference)</summary>

<code>id</code>Required<a href="#config-reference-bindings-bindings-mtlscertificate-default-id">Link to id</a>

<code>id: string</code>

The UUID of the uploaded mTLS certificate.

</details>

}),

<details>

<summary>MY_PIPELINE: bindings.pipeline({ (pipeline reference)</summary>

<code>pipeline</code>Builder<a href="#config-reference-bindings-bindings-pipeline-default">Link to pipeline</a>

<code>pipeline<TRecord extends PipelineRecord = PipelineRecord>(options: PipelineBindingOptions): TypedPipelineBinding<TRecord>;</code>

Binding to a Cloudflare Pipeline.

<details>

<summary>Options (2)</summary>

<dl>

<dt><code>name: string</code></dt> <dd>Name of the Pipeline to bind.</dd>

<dt><code>dev?: BindingDevOptions</code></dt> <dd>Options that only apply during local development.</dd></dl></details>

</details>

<details>

<summary>name: "my-resource", (name reference)</summary>

<code>name</code>Required<a href="#config-reference-bindings-bindings-pipeline-default-name">Link to name</a>

<code>name: string</code>

Name of the Pipeline to bind.

</details>

}),

<details>

<summary>MY_K2: bindings.k2({ (k2 reference)</summary>

<code>k2</code>Builder<a href="#config-reference-bindings-bindings-k2-default">Link to k2</a>

<code>k2(options: K2BindingOptions): K2Binding;</code>

A producer binding to a K2 stream created using the Dashboard or API.

<details>

<summary>Options (2)</summary>

<dl>

<dt><code>stream: string</code></dt> <dd>The ID of the K2 stream.</dd>

<dt><code>dev?: BindingDevOptions</code></dt> <dd>Always uses the real stream in development. Set remote to true to suppress the usage warning; false is unsupported.</dd></dl></details>

</details>

<details>

<summary>stream: "value", (stream reference)</summary>

<code>stream</code>Required<a href="#config-reference-bindings-bindings-k2-default-stream">Link to stream</a>

<code>stream: string</code>

The ID of the K2 stream.

</details>

}),

<details>

<summary>MY_QUEUE: bindings.queue(), (queue reference)</summary>

<code>queue</code>Builder<a href="#config-reference-bindings-bindings-queue-default">Link to queue</a>

<code>queue<TBody = unknown>(options?: QueueBindingOptions): TypedQueueBinding<TBody>;</code>

Producer binding to a Cloudflare Queue. For reference, see <a href="https://developers.cloudflare.com/workers/wrangler/configuration/#queues">https://developers.cloudflare.com/workers/wrangler/configuration/#queues</a>

<details>

<summary>Options (3)</summary>

<dl>

<dt><code>name?: string</code></dt> <dd>The name of this Queue.</dd>

<dt><code>deliveryDelay?: number</code></dt> <dd>The number of seconds to wait before delivering a message.</dd>

<dt><code>dev?: BindingDevOptions</code></dt> <dd>Options that only apply during local development.</dd></dl></details>

</details>

<details>

<summary>MY_R2: bindings.r2(), (r2 reference)</summary>

<code>r2</code>Builder<a href="#config-reference-bindings-bindings-r2-default">Link to r2</a>

<code>r2(options?: R2BindingOptions): R2Binding;</code>

Binding to an R2 bucket. For reference, see <a href="https://developers.cloudflare.com/workers/wrangler/configuration/#r2-buckets">https://developers.cloudflare.com/workers/wrangler/configuration/#r2-buckets</a>

<details>

<summary>Options (3)</summary>

<dl>

<dt><code>name?: string</code></dt> <dd>The name of this R2 bucket at the edge.</dd>

<dt><code>jurisdiction?: string</code></dt> <dd>The jurisdiction that the bucket exists in. Default if not present.</dd>

<dt><code>dev?: BindingDevOptions & { /* EXPERIMENTAL: credentials for the local S3-compatible endpoint. / experimentalS3Credentials?: { accessKeyId: string; secretAccessKey: string; }; }</code></dt> <dd>Settings that only apply to local development.</dd></dl></details>

</details>

<details>

<summary>MY_RATE_LIMIT: bindings.rateLimit({ (rateLimit reference)</summary>

<code>rateLimit</code>Builder<a href="#config-reference-bindings-bindings-ratelimit-default">Link to rateLimit</a>

<code>rateLimit(options: RateLimitBindingOptions): RateLimitBinding;</code>

Binding to a rate limiter.

<details>

<summary>Options (2)</summary>

<dl>

<dt><code>namespace: string</code></dt> <dd>The namespace ID for this rate limiter.</dd>

<dt><code>simple: { / The maximum number of requests allowed in the time period. */ limit: number; / The time period in seconds (10 for ten seconds, 60 for one minute). */ period: 10 | 60; }</code></dt> <dd>Simple rate limiting configuration.</dd></dl></details>

</details>

<details>

<summary>namespace: "my-namespace", (namespace reference)</summary>

<code>namespace</code>Required<a href="#config-reference-bindings-bindings-ratelimit-default-namespace">Link to namespace</a>

<code>namespace: string</code>

The namespace ID for this rate limiter.

</details>

<details>

<summary>simple: { (simple reference)</summary>

<code>simple</code>Required<a href="#config-reference-bindings-bindings-ratelimit-default-simple">Link to simple</a>

<code>simple: { / The maximum number of requests allowed in the time period. */ limit: number; / The time period in seconds (10 for ten seconds, 60 for one minute). */ period: 10 | 60; }</code>

Simple rate limiting configuration.

</details>

<details>

<summary>limit: 1, (limit reference)</summary>

<code>limit</code>Required<a href="#config-reference-bindings-bindings-ratelimit-default-simple-limit">Link to limit</a>

<code>limit: number</code>

The maximum number of requests allowed in the time period.

</details>

<details>

<summary>period: 10, (period reference)</summary>

<code>period</code>Required<a href="#config-reference-bindings-bindings-ratelimit-default-simple-period">Link to period</a>

<code>period: 10 | 60</code>

The time period in seconds (10 for ten seconds, 60 for one minute).

</details>

},

}),

<details>

<summary>MY_SECRET: bindings.secret(), (secret reference)</summary>

<code>secret</code>Builder<a href="#config-reference-bindings-bindings-secret-default">Link to secret</a>

<code>secret(): SecretBinding;</code>

Declares a secret that is required by your Worker, exposed on <code>env</code> under the binding name. When defined, this binding: - Replaces .dev.vars/.env/process.env inference for type generation - Enables local dev validation with warnings for missing secrets For reference, see <a href="https://developers.cloudflare.com/workers/wrangler/configuration/#secrets-configuration-property">https://developers.cloudflare.com/workers/wrangler/configuration/#secrets-configuration-property</a>

</details>

<details>

<summary>MY_SECRETS_STORE_SECRET: bindings.secretsStoreSecret({ (secretsStoreSecret reference)</summary>

<code>secretsStoreSecret</code>Builder<a href="#config-reference-bindings-bindings-secretsstoresecret-default">Link to secretsStoreSecret</a>

<code>secretsStoreSecret(options: SecretsStoreSecretBindingOptions): SecretsStoreSecretBinding;</code>

Binding to a Secrets Store secret.

<details>

<summary>Options (2)</summary>

<dl>

<dt><code>storeId: string</code></dt> <dd>ID of the secret store.</dd>

<dt><code>secretName: string</code></dt> <dd>Name of the secret.</dd></dl></details>

</details>

<details>

<summary>storeId: "store-id", (storeId reference)</summary>

<code>storeId</code>Required<a href="#config-reference-bindings-bindings-secretsstoresecret-default-storeid">Link to storeId</a>

<code>storeId: string</code>

ID of the secret store.

</details>

<details>

<summary>secretName: "my-secret", (secretName reference)</summary>

<code>secretName</code>Required<a href="#config-reference-bindings-bindings-secretsstoresecret-default-secretname">Link to secretName</a>

<code>secretName: string</code>

Name of the secret.

</details>

}),

<details>

<summary>MY_SEND_EMAIL: bindings.sendEmail({ (sendEmail reference)</summary>

<code>sendEmail</code>Builder<a href="#config-reference-bindings-bindings-sendemail-default">Link to sendEmail</a>

<code>sendEmail(options?: SendEmailBindingOptions): SendEmailBinding;</code>

Binding for sending email from inside the Worker. For reference, see <a href="https://developers.cloudflare.com/workers/wrangler/configuration/#email-bindings">https://developers.cloudflare.com/workers/wrangler/configuration/#email-bindings</a>

<details>

<summary>Options (6)</summary>

<dl>

<dt><code>destinationAddress: string</code></dt> <dd>If this binding should be restricted to a specific verified address.</dd>

<dt><code>allowedDestinationAddresses?: never</code></dt> <dd></dd>

<dt><code>destinationAddress?: never</code></dt> <dd></dd>

<dt><code>allowedDestinationAddresses: string[]</code></dt> <dd>If this binding should be restricted to a set of verified addresses.</dd>

<dt><code>allowedSenderAddresses?: string[]</code></dt> <dd>If this binding should be restricted to a set of sender addresses.</dd>

<dt><code>dev?: BindingDevOptions</code></dt> <dd>Options that only apply during local development.</dd></dl></details>

</details>

<details>

<summary>destinationAddress: "value", (destinationAddress reference)</summary>

<code>destinationAddress</code>Required<a href="#config-reference-bindings-bindings-sendemail-default-destinationaddress">Link to destinationAddress</a>

<code>destinationAddress: string</code>

If this binding should be restricted to a specific verified address.

</details>

}),

<details>

<summary>MY_STREAM: bindings.stream(), (stream reference)</summary>

<code>stream</code>Builder<a href="#config-reference-bindings-bindings-stream-default">Link to stream</a>

<code>stream(options?: StreamBindingOptions): StreamBinding$1;</code>

Binding to Cloudflare Stream.

<details>

<summary>Options (1)</summary>

<dl>

<dt><code>dev?: BindingDevOptions</code></dt> <dd>Options that only apply during local development.</dd></dl></details>

</details>

<details>

<summary>MY_TEXT: bindings.text("production"), (text reference)</summary>

<code>text</code>Builder<a href="#config-reference-bindings-bindings-text-default">Link to text</a>

<code>text<T$1 extends string>(value: T$1): TextBinding<T$1>;</code>

Inline string value made available to the Worker on <code>env</code> under the binding name. For reference, see <a href="https://developers.cloudflare.com/workers/wrangler/configuration/#environment-variables">https://developers.cloudflare.com/workers/wrangler/configuration/#environment-variables</a>

</details>

<details>

<summary>MY_VECTORIZE: bindings.vectorize({ (vectorize reference)</summary>

<code>vectorize</code>Builder<a href="#config-reference-bindings-bindings-vectorize-default">Link to vectorize</a>

<code>vectorize(options: VectorizeBindingOptions): VectorizeBinding;</code>

Binding to a Vectorize index. For reference, see <a href="https://developers.cloudflare.com/workers/wrangler/configuration/#vectorize-indexes">https://developers.cloudflare.com/workers/wrangler/configuration/#vectorize-indexes</a>

<details>

<summary>Options (2)</summary>

<dl>

<dt><code>name: string</code></dt> <dd>The name of the Vectorize index.</dd>

<dt><code>dev?: BindingDevOptions</code></dt> <dd>Options that only apply during local development.</dd></dl></details>

</details>

<details>

<summary>name: "my-resource", (name reference)</summary>

<code>name</code>Required<a href="#config-reference-bindings-bindings-vectorize-default-name">Link to name</a>

<code>name: string</code>

The name of the Vectorize index.

</details>

}),

<details>

<summary>MY_VERSION_METADATA: bindings.versionMetadata(), (versionMetadata reference)</summary>

<code>versionMetadata</code>Builder<a href="#config-reference-bindings-bindings-versionmetadata-default">Link to versionMetadata</a>

<code>versionMetadata(): VersionMetadataBinding;</code>

Binding to the Worker version's metadata.

</details>

<details>

<summary>MY_VPC_NETWORK: bindings.vpcNetwork({ (vpcNetwork reference)</summary>

<code>vpcNetwork</code>Builder<a href="#config-reference-bindings-bindings-vpcnetwork-default">Link to vpcNetwork</a>

<code>vpcNetwork(options: VpcNetworkBindingOptions): VpcNetworkBinding;</code>

Binding to a VPC network.

<details>

<summary>Options (5)</summary>

<dl>

<dt><code>tunnelId: string</code></dt> <dd>The tunnel ID of the Cloudflare Tunnel to route traffic through. Mutually exclusive with <code>networkId</code>.</dd>

<dt><code>networkId?: never</code></dt> <dd></dd>

<dt><code>dev?: BindingDevOptions</code></dt> <dd>Options that only apply during local development.</dd>

<dt><code>tunnelId?: never</code></dt> <dd></dd>

<dt><code>networkId: string</code></dt> <dd>The network ID to route traffic through. Mutually exclusive with <code>tunnelId</code>.</dd>

</dl></details>

</details>

<details>

<summary>tunnelId: "tunnel-id", (tunnelId reference)</summary>

<code>tunnelId</code>Required<a href="#config-reference-bindings-bindings-vpcnetwork-default-tunnelid">Link to tunnelId</a>

<code>tunnelId: string</code>

The tunnel ID of the Cloudflare Tunnel to route traffic through. Mutually exclusive with <code>networkId</code>.

</details>

}),

<details>

<summary>MY_VPC_SERVICE: bindings.vpcService({ (vpcService reference)</summary>

<code>vpcService</code>Builder<a href="#config-reference-bindings-bindings-vpcservice-default">Link to vpcService</a>

<code>vpcService(options: VpcServiceBindingOptions): VpcServiceBinding;</code>

Binding to a VPC service.

<details>

<summary>Options (2)</summary>

<dl>

<dt><code>id: string</code></dt> <dd>The service ID of the VPC connectivity service.</dd>