WorkersScriptBindingArgs

data class WorkersScriptBindingArgs(val algorithm: Output<String>? = null, val bucketName: Output<String>? = null, val certificateId: Output<String>? = null, val className: Output<String>? = null, val dataset: Output<String>? = null, val environment: Output<String>? = null, val format: Output<String>? = null, val id: Output<String>? = null, val indexName: Output<String>? = null, val json: Output<String>? = null, val keyBase64: Output<String>? = null, val keyJwk: Output<String>? = null, val name: Output<String>, val namespace: Output<String>? = null, val namespaceId: Output<String>? = null, val outbound: Output<WorkersScriptBindingOutboundArgs>? = null, val pipeline: Output<String>? = null, val queueName: Output<String>? = null, val scriptName: Output<String>? = null, val secretName: Output<String>? = null, val service: Output<String>? = null, val storeId: Output<String>? = null, val text: Output<String>? = null, val type: Output<String>, val usages: Output<List<String>>? = null) : ConvertibleToJava<WorkersScriptBindingArgs>

Constructors

Link copied to clipboard
constructor(algorithm: Output<String>? = null, bucketName: Output<String>? = null, certificateId: Output<String>? = null, className: Output<String>? = null, dataset: Output<String>? = null, environment: Output<String>? = null, format: Output<String>? = null, id: Output<String>? = null, indexName: Output<String>? = null, json: Output<String>? = null, keyBase64: Output<String>? = null, keyJwk: Output<String>? = null, name: Output<String>, namespace: Output<String>? = null, namespaceId: Output<String>? = null, outbound: Output<WorkersScriptBindingOutboundArgs>? = null, pipeline: Output<String>? = null, queueName: Output<String>? = null, scriptName: Output<String>? = null, secretName: Output<String>? = null, service: Output<String>? = null, storeId: Output<String>? = null, text: Output<String>? = null, type: Output<String>, usages: Output<List<String>>? = null)

Properties

Link copied to clipboard
val algorithm: Output<String>? = null

Algorithm-specific key parameters. Learn more.

Link copied to clipboard
val bucketName: Output<String>? = null

R2 bucket to bind to.

Link copied to clipboard
val certificateId: Output<String>? = null

Identifier of the certificate to bind to.

Link copied to clipboard
val className: Output<String>? = null

The exported class name of the Durable Object.

Link copied to clipboard
val dataset: Output<String>? = null

The name of the dataset to bind to.

Link copied to clipboard
val environment: Output<String>? = null

The environment of the script_name to bind to.

Link copied to clipboard
val format: Output<String>? = null

Data format of the key. Learn more. Available values: "raw", "pkcs8", "spki", "jwk".

Link copied to clipboard
val id: Output<String>? = null

Identifier of the D1 database to bind to.

Link copied to clipboard
val indexName: Output<String>? = null

Name of the Vectorize index to bind to.

Link copied to clipboard
val json: Output<String>? = null

JSON data to use.

Link copied to clipboard
val keyBase64: Output<String>? = null

Base64-encoded key data. Required if format is "raw", "pkcs8", or "spki".

Link copied to clipboard
val keyJwk: Output<String>? = null

Key data in JSON Web Key format. Required if format is "jwk".

Link copied to clipboard
val name: Output<String>

A JavaScript variable name for the binding.

Link copied to clipboard
val namespace: Output<String>? = null

Namespace to bind to.

Link copied to clipboard
val namespaceId: Output<String>? = null

Namespace identifier tag.

Link copied to clipboard

Outbound worker.

Link copied to clipboard
val pipeline: Output<String>? = null

Name of the Pipeline to bind to.

Link copied to clipboard
val queueName: Output<String>? = null

Name of the Queue to bind to.

Link copied to clipboard
val scriptName: Output<String>? = null

The script where the Durable Object is defined, if it is external to this Worker.

Link copied to clipboard
val secretName: Output<String>? = null

Name of the secret in the store.

Link copied to clipboard
val service: Output<String>? = null

Name of Worker to bind to.

Link copied to clipboard
val storeId: Output<String>? = null

ID of the store containing the secret.

Link copied to clipboard
val text: Output<String>? = null

The text value to use.

Link copied to clipboard
val type: Output<String>

The kind of resource that the binding provides. Available values: "ai".

Link copied to clipboard
val usages: Output<List<String>>? = null

Allowed operations with the key. Learn more.

Functions

Link copied to clipboard
open override fun toJava(): WorkersScriptBindingArgs