Cloudflare v6.10.1 published on Wednesday, Oct 22, 2025 by Pulumi
cloudflare.getWorkerVersion
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as cloudflare from "@pulumi/cloudflare";
const exampleWorkerVersion = cloudflare.getWorkerVersion({
accountId: "023e105f4ecef8ad9ca31a8372d0c353",
workerId: "worker_id",
versionId: "version_id",
include: "modules",
});
import pulumi
import pulumi_cloudflare as cloudflare
example_worker_version = cloudflare.get_worker_version(account_id="023e105f4ecef8ad9ca31a8372d0c353",
worker_id="worker_id",
version_id="version_id",
include="modules")
package main
import (
"github.com/pulumi/pulumi-cloudflare/sdk/v6/go/cloudflare"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := cloudflare.LookupWorkerVersion(ctx, &cloudflare.LookupWorkerVersionArgs{
AccountId: "023e105f4ecef8ad9ca31a8372d0c353",
WorkerId: "worker_id",
VersionId: pulumi.StringRef("version_id"),
Include: pulumi.StringRef("modules"),
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Cloudflare = Pulumi.Cloudflare;
return await Deployment.RunAsync(() =>
{
var exampleWorkerVersion = Cloudflare.GetWorkerVersion.Invoke(new()
{
AccountId = "023e105f4ecef8ad9ca31a8372d0c353",
WorkerId = "worker_id",
VersionId = "version_id",
Include = "modules",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.cloudflare.CloudflareFunctions;
import com.pulumi.cloudflare.inputs.GetWorkerVersionArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
final var exampleWorkerVersion = CloudflareFunctions.getWorkerVersion(GetWorkerVersionArgs.builder()
.accountId("023e105f4ecef8ad9ca31a8372d0c353")
.workerId("worker_id")
.versionId("version_id")
.include("modules")
.build());
}
}
variables:
exampleWorkerVersion:
fn::invoke:
function: cloudflare:getWorkerVersion
arguments:
accountId: 023e105f4ecef8ad9ca31a8372d0c353
workerId: worker_id
versionId: version_id
include: modules
Using getWorkerVersion
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getWorkerVersion(args: GetWorkerVersionArgs, opts?: InvokeOptions): Promise<GetWorkerVersionResult>
function getWorkerVersionOutput(args: GetWorkerVersionOutputArgs, opts?: InvokeOptions): Output<GetWorkerVersionResult>def get_worker_version(account_id: Optional[str] = None,
include: Optional[str] = None,
version_id: Optional[str] = None,
worker_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetWorkerVersionResult
def get_worker_version_output(account_id: Optional[pulumi.Input[str]] = None,
include: Optional[pulumi.Input[str]] = None,
version_id: Optional[pulumi.Input[str]] = None,
worker_id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetWorkerVersionResult]func LookupWorkerVersion(ctx *Context, args *LookupWorkerVersionArgs, opts ...InvokeOption) (*LookupWorkerVersionResult, error)
func LookupWorkerVersionOutput(ctx *Context, args *LookupWorkerVersionOutputArgs, opts ...InvokeOption) LookupWorkerVersionResultOutput> Note: This function is named LookupWorkerVersion in the Go SDK.
public static class GetWorkerVersion
{
public static Task<GetWorkerVersionResult> InvokeAsync(GetWorkerVersionArgs args, InvokeOptions? opts = null)
public static Output<GetWorkerVersionResult> Invoke(GetWorkerVersionInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetWorkerVersionResult> getWorkerVersion(GetWorkerVersionArgs args, InvokeOptions options)
public static Output<GetWorkerVersionResult> getWorkerVersion(GetWorkerVersionArgs args, InvokeOptions options)
fn::invoke:
function: cloudflare:index/getWorkerVersion:getWorkerVersion
arguments:
# arguments dictionaryThe following arguments are supported:
- Account
Id string - Identifier.
- Worker
Id string - Identifier for the Worker, which can be ID or name.
- Include string
- Whether to include the
modulesproperty of the version in the response, which contains code and sourcemap content and may add several megabytes to the response size. Available values: "modules". - Version
Id string - Identifier for the version, which can be ID or the literal "latest" to operate on the most recently created version.
- Account
Id string - Identifier.
- Worker
Id string - Identifier for the Worker, which can be ID or name.
- Include string
- Whether to include the
modulesproperty of the version in the response, which contains code and sourcemap content and may add several megabytes to the response size. Available values: "modules". - Version
Id string - Identifier for the version, which can be ID or the literal "latest" to operate on the most recently created version.
- account
Id String - Identifier.
- worker
Id String - Identifier for the Worker, which can be ID or name.
- include String
- Whether to include the
modulesproperty of the version in the response, which contains code and sourcemap content and may add several megabytes to the response size. Available values: "modules". - version
Id String - Identifier for the version, which can be ID or the literal "latest" to operate on the most recently created version.
- account
Id string - Identifier.
- worker
Id string - Identifier for the Worker, which can be ID or name.
- include string
- Whether to include the
modulesproperty of the version in the response, which contains code and sourcemap content and may add several megabytes to the response size. Available values: "modules". - version
Id string - Identifier for the version, which can be ID or the literal "latest" to operate on the most recently created version.
- account_
id str - Identifier.
- worker_
id str - Identifier for the Worker, which can be ID or name.
- include str
- Whether to include the
modulesproperty of the version in the response, which contains code and sourcemap content and may add several megabytes to the response size. Available values: "modules". - version_
id str - Identifier for the version, which can be ID or the literal "latest" to operate on the most recently created version.
- account
Id String - Identifier.
- worker
Id String - Identifier for the Worker, which can be ID or name.
- include String
- Whether to include the
modulesproperty of the version in the response, which contains code and sourcemap content and may add several megabytes to the response size. Available values: "modules". - version
Id String - Identifier for the version, which can be ID or the literal "latest" to operate on the most recently created version.
getWorkerVersion Result
The following output properties are available:
- Account
Id string - Identifier.
- Annotations
Get
Worker Version Annotations - Metadata about the version.
- Assets
Get
Worker Version Assets - Configuration for assets within a Worker.
- Bindings
List<Get
Worker Version Binding> - Compatibility
Date string - Compatibility
Flags List<string> - Created
On string - Id string
- Limits
Get
Worker Version Limits - Main
Module string - Migrations
Get
Worker Version Migrations - Modules
List<Get
Worker Version Module> - Number int
- Placement
Get
Worker Version Placement - Source string
- Usage
Model string - Worker
Id string - Identifier for the Worker, which can be ID or name.
- Include string
- Whether to include the
modulesproperty of the version in the response, which contains code and sourcemap content and may add several megabytes to the response size. Available values: "modules". - Version
Id string - Identifier for the version, which can be ID or the literal "latest" to operate on the most recently created version.
- Account
Id string - Identifier.
- Annotations
Get
Worker Version Annotations - Metadata about the version.
- Assets
Get
Worker Version Assets - Configuration for assets within a Worker.
- Bindings
[]Get
Worker Version Binding - Compatibility
Date string - Compatibility
Flags []string - Created
On string - Id string
- Limits
Get
Worker Version Limits - Main
Module string - Migrations
Get
Worker Version Migrations - Modules
[]Get
Worker Version Module - Number int
- Placement
Get
Worker Version Placement - Source string
- Usage
Model string - Worker
Id string - Identifier for the Worker, which can be ID or name.
- Include string
- Whether to include the
modulesproperty of the version in the response, which contains code and sourcemap content and may add several megabytes to the response size. Available values: "modules". - Version
Id string - Identifier for the version, which can be ID or the literal "latest" to operate on the most recently created version.
- account
Id String - Identifier.
- annotations
Get
Worker Version Annotations - Metadata about the version.
- assets
Get
Worker Version Assets - Configuration for assets within a Worker.
- bindings
List<Get
Worker Version Binding> - compatibility
Date String - compatibility
Flags List<String> - created
On String - id String
- limits
Get
Worker Version Limits - main
Module String - migrations
Get
Worker Version Migrations - modules
List<Get
Worker Version Module> - number Integer
- placement
Get
Worker Version Placement - source String
- usage
Model String - worker
Id String - Identifier for the Worker, which can be ID or name.
- include String
- Whether to include the
modulesproperty of the version in the response, which contains code and sourcemap content and may add several megabytes to the response size. Available values: "modules". - version
Id String - Identifier for the version, which can be ID or the literal "latest" to operate on the most recently created version.
- account
Id string - Identifier.
- annotations
Get
Worker Version Annotations - Metadata about the version.
- assets
Get
Worker Version Assets - Configuration for assets within a Worker.
- bindings
Get
Worker Version Binding[] - compatibility
Date string - compatibility
Flags string[] - created
On string - id string
- limits
Get
Worker Version Limits - main
Module string - migrations
Get
Worker Version Migrations - modules
Get
Worker Version Module[] - number number
- placement
Get
Worker Version Placement - source string
- usage
Model string - worker
Id string - Identifier for the Worker, which can be ID or name.
- include string
- Whether to include the
modulesproperty of the version in the response, which contains code and sourcemap content and may add several megabytes to the response size. Available values: "modules". - version
Id string - Identifier for the version, which can be ID or the literal "latest" to operate on the most recently created version.
- account_
id str - Identifier.
- annotations
Get
Worker Version Annotations - Metadata about the version.
- assets
Get
Worker Version Assets - Configuration for assets within a Worker.
- bindings
Sequence[Get
Worker Version Binding] - compatibility_
date str - compatibility_
flags Sequence[str] - created_
on str - id str
- limits
Get
Worker Version Limits - main_
module str - migrations
Get
Worker Version Migrations - modules
Sequence[Get
Worker Version Module] - number int
- placement
Get
Worker Version Placement - source str
- usage_
model str - worker_
id str - Identifier for the Worker, which can be ID or name.
- include str
- Whether to include the
modulesproperty of the version in the response, which contains code and sourcemap content and may add several megabytes to the response size. Available values: "modules". - version_
id str - Identifier for the version, which can be ID or the literal "latest" to operate on the most recently created version.
- account
Id String - Identifier.
- annotations Property Map
- Metadata about the version.
- assets Property Map
- Configuration for assets within a Worker.
- bindings List<Property Map>
- compatibility
Date String - compatibility
Flags List<String> - created
On String - id String
- limits Property Map
- main
Module String - migrations Property Map
- modules List<Property Map>
- number Number
- placement Property Map
- source String
- usage
Model String - worker
Id String - Identifier for the Worker, which can be ID or name.
- include String
- Whether to include the
modulesproperty of the version in the response, which contains code and sourcemap content and may add several megabytes to the response size. Available values: "modules". - version
Id String - Identifier for the version, which can be ID or the literal "latest" to operate on the most recently created version.
Supporting Types
GetWorkerVersionAnnotations
- Workers
Message string - Human-readable message about the version.
- Workers
Tag string - User-provided identifier for the version.
- Workers
Triggered stringBy - Operation that triggered the creation of the version.
- Workers
Message string - Human-readable message about the version.
- Workers
Tag string - User-provided identifier for the version.
- Workers
Triggered stringBy - Operation that triggered the creation of the version.
- workers
Message String - Human-readable message about the version.
- workers
Tag String - User-provided identifier for the version.
- workers
Triggered StringBy - Operation that triggered the creation of the version.
- workers
Message string - Human-readable message about the version.
- workers
Tag string - User-provided identifier for the version.
- workers
Triggered stringBy - Operation that triggered the creation of the version.
- workers_
message str - Human-readable message about the version.
- workers_
tag str - User-provided identifier for the version.
- workers_
triggered_ strby - Operation that triggered the creation of the version.
- workers
Message String - Human-readable message about the version.
- workers
Tag String - User-provided identifier for the version.
- workers
Triggered StringBy - Operation that triggered the creation of the version.
GetWorkerVersionAssets
- Config
Get
Worker Version Assets Config - Configuration for assets within a Worker.
- Jwt string
- Token provided upon successful upload of all files from a registered manifest.
- Config
Get
Worker Version Assets Config - Configuration for assets within a Worker.
- Jwt string
- Token provided upon successful upload of all files from a registered manifest.
- config
Get
Worker Version Assets Config - Configuration for assets within a Worker.
- jwt String
- Token provided upon successful upload of all files from a registered manifest.
- config
Get
Worker Version Assets Config - Configuration for assets within a Worker.
- jwt string
- Token provided upon successful upload of all files from a registered manifest.
- config
Get
Worker Version Assets Config - Configuration for assets within a Worker.
- jwt str
- Token provided upon successful upload of all files from a registered manifest.
- config Property Map
- Configuration for assets within a Worker.
- jwt String
- Token provided upon successful upload of all files from a registered manifest.
GetWorkerVersionAssetsConfig
- Html
Handling string - Determines the redirects and rewrites of requests for HTML content. Available values: "auto-trailing-slash", "force-trailing-slash", "drop-trailing-slash", "none".
- Not
Found stringHandling - Determines the response when a request does not match a static asset, and there is no Worker script. Available values: "none", "404-page", "single-page-application".
- Run
Worker List<string>Firsts - Contains a list path rules to control routing to either the Worker or assets. Glob (*) and negative (!) rules are supported. Rules must start with either '/' or '!/'. At least one non-negative rule must be provided, and negative rules have higher precedence than non-negative rules.
- Html
Handling string - Determines the redirects and rewrites of requests for HTML content. Available values: "auto-trailing-slash", "force-trailing-slash", "drop-trailing-slash", "none".
- Not
Found stringHandling - Determines the response when a request does not match a static asset, and there is no Worker script. Available values: "none", "404-page", "single-page-application".
- Run
Worker []stringFirsts - Contains a list path rules to control routing to either the Worker or assets. Glob (*) and negative (!) rules are supported. Rules must start with either '/' or '!/'. At least one non-negative rule must be provided, and negative rules have higher precedence than non-negative rules.
- html
Handling String - Determines the redirects and rewrites of requests for HTML content. Available values: "auto-trailing-slash", "force-trailing-slash", "drop-trailing-slash", "none".
- not
Found StringHandling - Determines the response when a request does not match a static asset, and there is no Worker script. Available values: "none", "404-page", "single-page-application".
- run
Worker List<String>Firsts - Contains a list path rules to control routing to either the Worker or assets. Glob (*) and negative (!) rules are supported. Rules must start with either '/' or '!/'. At least one non-negative rule must be provided, and negative rules have higher precedence than non-negative rules.
- html
Handling string - Determines the redirects and rewrites of requests for HTML content. Available values: "auto-trailing-slash", "force-trailing-slash", "drop-trailing-slash", "none".
- not
Found stringHandling - Determines the response when a request does not match a static asset, and there is no Worker script. Available values: "none", "404-page", "single-page-application".
- run
Worker string[]Firsts - Contains a list path rules to control routing to either the Worker or assets. Glob (*) and negative (!) rules are supported. Rules must start with either '/' or '!/'. At least one non-negative rule must be provided, and negative rules have higher precedence than non-negative rules.
- html_
handling str - Determines the redirects and rewrites of requests for HTML content. Available values: "auto-trailing-slash", "force-trailing-slash", "drop-trailing-slash", "none".
- not_
found_ strhandling - Determines the response when a request does not match a static asset, and there is no Worker script. Available values: "none", "404-page", "single-page-application".
- run_
worker_ Sequence[str]firsts - Contains a list path rules to control routing to either the Worker or assets. Glob (*) and negative (!) rules are supported. Rules must start with either '/' or '!/'. At least one non-negative rule must be provided, and negative rules have higher precedence than non-negative rules.
- html
Handling String - Determines the redirects and rewrites of requests for HTML content. Available values: "auto-trailing-slash", "force-trailing-slash", "drop-trailing-slash", "none".
- not
Found StringHandling - Determines the response when a request does not match a static asset, and there is no Worker script. Available values: "none", "404-page", "single-page-application".
- run
Worker List<String>Firsts - Contains a list path rules to control routing to either the Worker or assets. Glob (*) and negative (!) rules are supported. Rules must start with either '/' or '!/'. At least one non-negative rule must be provided, and negative rules have higher precedence than non-negative rules.
GetWorkerVersionBinding
- Algorithm string
- Algorithm-specific key parameters. Learn more.
- Allowed
Destination List<string>Addresses - List of allowed destination addresses.
- Allowed
Sender List<string>Addresses - List of allowed sender addresses.
- Bucket
Name string - R2 bucket to bind to.
- Certificate
Id string - Identifier of the certificate to bind to.
- Class
Name string - The exported class name of the Durable Object.
- Dataset string
- The name of the dataset to bind to.
- Destination
Address string - Destination address for the email.
- Environment string
- The environment of the script_name to bind to.
- Format string
- Data format of the key. Learn more. Available values: "raw", "pkcs8", "spki", "jwk".
- Id string
- Identifier of the D1 database to bind to.
- Index
Name string - Name of the Vectorize index to bind to.
- Json string
- JSON data to use.
- Jurisdiction string
- The jurisdiction of the R2 bucket. Available values: "eu", "fedramp".
- Key
Base64 string - Base64-encoded key data. Required if
formatis "raw", "pkcs8", or "spki". - Key
Jwk string - Key data in JSON Web Key format. Required if
formatis "jwk". - Name string
- A JavaScript variable name for the binding.
- Namespace string
- Namespace to bind to.
- Namespace
Id string - Namespace identifier tag.
- Old
Name string - The old name of the inherited binding. If set, the binding will be renamed from
old_nametonamein the new version. If not set, the binding will keep the same name between versions. - Outbound
Get
Worker Version Binding Outbound - Outbound worker.
- Part string
- The name of the file containing the data content. Only accepted for
service worker syntaxWorkers. - Pipeline string
- Name of the Pipeline to bind to.
- Queue
Name string - Name of the Queue to bind to.
- Script
Name string - The script where the Durable Object is defined, if it is external to this Worker.
- Secret
Name string - Name of the secret in the store.
- Service string
- Name of Worker to bind to.
- Store
Id string - ID of the store containing the secret.
- Text string
- The text value to use.
- Type string
- The kind of resource that the binding provides. Available values: "ai", "analyticsengine", "assets", "browser", "d1", "datablob", "dispatchnamespace", "durableobjectnamespace", "hyperdrive", "inherit", "images", "json", "kvnamespace", "mtlscertificate", "plaintext", "pipelines", "queue", "r2bucket", "secrettext", "sendemail", "service", "tailconsumer", "textblob", "vectorize", "versionmetadata", "secretsstoresecret", "secretkey", "workflow", "wasmmodule".
- Usages List<string>
- Allowed operations with the key. Learn more.
- Version
Id string - Identifier for the version to inherit the binding from, which can be the version ID or the literal "latest" to inherit from the latest version. Defaults to inheriting the binding from the latest version.
- Workflow
Name string - Name of the Workflow to bind to.
- Algorithm string
- Algorithm-specific key parameters. Learn more.
- Allowed
Destination []stringAddresses - List of allowed destination addresses.
- Allowed
Sender []stringAddresses - List of allowed sender addresses.
- Bucket
Name string - R2 bucket to bind to.
- Certificate
Id string - Identifier of the certificate to bind to.
- Class
Name string - The exported class name of the Durable Object.
- Dataset string
- The name of the dataset to bind to.
- Destination
Address string - Destination address for the email.
- Environment string
- The environment of the script_name to bind to.
- Format string
- Data format of the key. Learn more. Available values: "raw", "pkcs8", "spki", "jwk".
- Id string
- Identifier of the D1 database to bind to.
- Index
Name string - Name of the Vectorize index to bind to.
- Json string
- JSON data to use.
- Jurisdiction string
- The jurisdiction of the R2 bucket. Available values: "eu", "fedramp".
- Key
Base64 string - Base64-encoded key data. Required if
formatis "raw", "pkcs8", or "spki". - Key
Jwk string - Key data in JSON Web Key format. Required if
formatis "jwk". - Name string
- A JavaScript variable name for the binding.
- Namespace string
- Namespace to bind to.
- Namespace
Id string - Namespace identifier tag.
- Old
Name string - The old name of the inherited binding. If set, the binding will be renamed from
old_nametonamein the new version. If not set, the binding will keep the same name between versions. - Outbound
Get
Worker Version Binding Outbound - Outbound worker.
- Part string
- The name of the file containing the data content. Only accepted for
service worker syntaxWorkers. - Pipeline string
- Name of the Pipeline to bind to.
- Queue
Name string - Name of the Queue to bind to.
- Script
Name string - The script where the Durable Object is defined, if it is external to this Worker.
- Secret
Name string - Name of the secret in the store.
- Service string
- Name of Worker to bind to.
- Store
Id string - ID of the store containing the secret.
- Text string
- The text value to use.
- Type string
- The kind of resource that the binding provides. Available values: "ai", "analyticsengine", "assets", "browser", "d1", "datablob", "dispatchnamespace", "durableobjectnamespace", "hyperdrive", "inherit", "images", "json", "kvnamespace", "mtlscertificate", "plaintext", "pipelines", "queue", "r2bucket", "secrettext", "sendemail", "service", "tailconsumer", "textblob", "vectorize", "versionmetadata", "secretsstoresecret", "secretkey", "workflow", "wasmmodule".
- Usages []string
- Allowed operations with the key. Learn more.
- Version
Id string - Identifier for the version to inherit the binding from, which can be the version ID or the literal "latest" to inherit from the latest version. Defaults to inheriting the binding from the latest version.
- Workflow
Name string - Name of the Workflow to bind to.
- algorithm String
- Algorithm-specific key parameters. Learn more.
- allowed
Destination List<String>Addresses - List of allowed destination addresses.
- allowed
Sender List<String>Addresses - List of allowed sender addresses.
- bucket
Name String - R2 bucket to bind to.
- certificate
Id String - Identifier of the certificate to bind to.
- class
Name String - The exported class name of the Durable Object.
- dataset String
- The name of the dataset to bind to.
- destination
Address String - Destination address for the email.
- environment String
- The environment of the script_name to bind to.
- format String
- Data format of the key. Learn more. Available values: "raw", "pkcs8", "spki", "jwk".
- id String
- Identifier of the D1 database to bind to.
- index
Name String - Name of the Vectorize index to bind to.
- json String
- JSON data to use.
- jurisdiction String
- The jurisdiction of the R2 bucket. Available values: "eu", "fedramp".
- key
Base64 String - Base64-encoded key data. Required if
formatis "raw", "pkcs8", or "spki". - key
Jwk String - Key data in JSON Web Key format. Required if
formatis "jwk". - name String
- A JavaScript variable name for the binding.
- namespace String
- Namespace to bind to.
- namespace
Id String - Namespace identifier tag.
- old
Name String - The old name of the inherited binding. If set, the binding will be renamed from
old_nametonamein the new version. If not set, the binding will keep the same name between versions. - outbound
Get
Worker Version Binding Outbound - Outbound worker.
- part String
- The name of the file containing the data content. Only accepted for
service worker syntaxWorkers. - pipeline String
- Name of the Pipeline to bind to.
- queue
Name String - Name of the Queue to bind to.
- script
Name String - The script where the Durable Object is defined, if it is external to this Worker.
- secret
Name String - Name of the secret in the store.
- service String
- Name of Worker to bind to.
- store
Id String - ID of the store containing the secret.
- text String
- The text value to use.
- type String
- The kind of resource that the binding provides. Available values: "ai", "analyticsengine", "assets", "browser", "d1", "datablob", "dispatchnamespace", "durableobjectnamespace", "hyperdrive", "inherit", "images", "json", "kvnamespace", "mtlscertificate", "plaintext", "pipelines", "queue", "r2bucket", "secrettext", "sendemail", "service", "tailconsumer", "textblob", "vectorize", "versionmetadata", "secretsstoresecret", "secretkey", "workflow", "wasmmodule".
- usages List<String>
- Allowed operations with the key. Learn more.
- version
Id String - Identifier for the version to inherit the binding from, which can be the version ID or the literal "latest" to inherit from the latest version. Defaults to inheriting the binding from the latest version.
- workflow
Name String - Name of the Workflow to bind to.
- algorithm string
- Algorithm-specific key parameters. Learn more.
- allowed
Destination string[]Addresses - List of allowed destination addresses.
- allowed
Sender string[]Addresses - List of allowed sender addresses.
- bucket
Name string - R2 bucket to bind to.
- certificate
Id string - Identifier of the certificate to bind to.
- class
Name string - The exported class name of the Durable Object.
- dataset string
- The name of the dataset to bind to.
- destination
Address string - Destination address for the email.
- environment string
- The environment of the script_name to bind to.
- format string
- Data format of the key. Learn more. Available values: "raw", "pkcs8", "spki", "jwk".
- id string
- Identifier of the D1 database to bind to.
- index
Name string - Name of the Vectorize index to bind to.
- json string
- JSON data to use.
- jurisdiction string
- The jurisdiction of the R2 bucket. Available values: "eu", "fedramp".
- key
Base64 string - Base64-encoded key data. Required if
formatis "raw", "pkcs8", or "spki". - key
Jwk string - Key data in JSON Web Key format. Required if
formatis "jwk". - name string
- A JavaScript variable name for the binding.
- namespace string
- Namespace to bind to.
- namespace
Id string - Namespace identifier tag.
- old
Name string - The old name of the inherited binding. If set, the binding will be renamed from
old_nametonamein the new version. If not set, the binding will keep the same name between versions. - outbound
Get
Worker Version Binding Outbound - Outbound worker.
- part string
- The name of the file containing the data content. Only accepted for
service worker syntaxWorkers. - pipeline string
- Name of the Pipeline to bind to.
- queue
Name string - Name of the Queue to bind to.
- script
Name string - The script where the Durable Object is defined, if it is external to this Worker.
- secret
Name string - Name of the secret in the store.
- service string
- Name of Worker to bind to.
- store
Id string - ID of the store containing the secret.
- text string
- The text value to use.
- type string
- The kind of resource that the binding provides. Available values: "ai", "analyticsengine", "assets", "browser", "d1", "datablob", "dispatchnamespace", "durableobjectnamespace", "hyperdrive", "inherit", "images", "json", "kvnamespace", "mtlscertificate", "plaintext", "pipelines", "queue", "r2bucket", "secrettext", "sendemail", "service", "tailconsumer", "textblob", "vectorize", "versionmetadata", "secretsstoresecret", "secretkey", "workflow", "wasmmodule".
- usages string[]
- Allowed operations with the key. Learn more.
- version
Id string - Identifier for the version to inherit the binding from, which can be the version ID or the literal "latest" to inherit from the latest version. Defaults to inheriting the binding from the latest version.
- workflow
Name string - Name of the Workflow to bind to.
- algorithm str
- Algorithm-specific key parameters. Learn more.
- allowed_
destination_ Sequence[str]addresses - List of allowed destination addresses.
- allowed_
sender_ Sequence[str]addresses - List of allowed sender addresses.
- bucket_
name str - R2 bucket to bind to.
- certificate_
id str - Identifier of the certificate to bind to.
- class_
name str - The exported class name of the Durable Object.
- dataset str
- The name of the dataset to bind to.
- destination_
address str - Destination address for the email.
- environment str
- The environment of the script_name to bind to.
- format str
- Data format of the key. Learn more. Available values: "raw", "pkcs8", "spki", "jwk".
- id str
- Identifier of the D1 database to bind to.
- index_
name str - Name of the Vectorize index to bind to.
- json str
- JSON data to use.
- jurisdiction str
- The jurisdiction of the R2 bucket. Available values: "eu", "fedramp".
- key_
base64 str - Base64-encoded key data. Required if
formatis "raw", "pkcs8", or "spki". - key_
jwk str - Key data in JSON Web Key format. Required if
formatis "jwk". - name str
- A JavaScript variable name for the binding.
- namespace str
- Namespace to bind to.
- namespace_
id str - Namespace identifier tag.
- old_
name str - The old name of the inherited binding. If set, the binding will be renamed from
old_nametonamein the new version. If not set, the binding will keep the same name between versions. - outbound
Get
Worker Version Binding Outbound - Outbound worker.
- part str
- The name of the file containing the data content. Only accepted for
service worker syntaxWorkers. - pipeline str
- Name of the Pipeline to bind to.
- queue_
name str - Name of the Queue to bind to.
- script_
name str - The script where the Durable Object is defined, if it is external to this Worker.
- secret_
name str - Name of the secret in the store.
- service str
- Name of Worker to bind to.
- store_
id str - ID of the store containing the secret.
- text str
- The text value to use.
- type str
- The kind of resource that the binding provides. Available values: "ai", "analyticsengine", "assets", "browser", "d1", "datablob", "dispatchnamespace", "durableobjectnamespace", "hyperdrive", "inherit", "images", "json", "kvnamespace", "mtlscertificate", "plaintext", "pipelines", "queue", "r2bucket", "secrettext", "sendemail", "service", "tailconsumer", "textblob", "vectorize", "versionmetadata", "secretsstoresecret", "secretkey", "workflow", "wasmmodule".
- usages Sequence[str]
- Allowed operations with the key. Learn more.
- version_
id str - Identifier for the version to inherit the binding from, which can be the version ID or the literal "latest" to inherit from the latest version. Defaults to inheriting the binding from the latest version.
- workflow_
name str - Name of the Workflow to bind to.
- algorithm String
- Algorithm-specific key parameters. Learn more.
- allowed
Destination List<String>Addresses - List of allowed destination addresses.
- allowed
Sender List<String>Addresses - List of allowed sender addresses.
- bucket
Name String - R2 bucket to bind to.
- certificate
Id String - Identifier of the certificate to bind to.
- class
Name String - The exported class name of the Durable Object.
- dataset String
- The name of the dataset to bind to.
- destination
Address String - Destination address for the email.
- environment String
- The environment of the script_name to bind to.
- format String
- Data format of the key. Learn more. Available values: "raw", "pkcs8", "spki", "jwk".
- id String
- Identifier of the D1 database to bind to.
- index
Name String - Name of the Vectorize index to bind to.
- json String
- JSON data to use.
- jurisdiction String
- The jurisdiction of the R2 bucket. Available values: "eu", "fedramp".
- key
Base64 String - Base64-encoded key data. Required if
formatis "raw", "pkcs8", or "spki". - key
Jwk String - Key data in JSON Web Key format. Required if
formatis "jwk". - name String
- A JavaScript variable name for the binding.
- namespace String
- Namespace to bind to.
- namespace
Id String - Namespace identifier tag.
- old
Name String - The old name of the inherited binding. If set, the binding will be renamed from
old_nametonamein the new version. If not set, the binding will keep the same name between versions. - outbound Property Map
- Outbound worker.
- part String
- The name of the file containing the data content. Only accepted for
service worker syntaxWorkers. - pipeline String
- Name of the Pipeline to bind to.
- queue
Name String - Name of the Queue to bind to.
- script
Name String - The script where the Durable Object is defined, if it is external to this Worker.
- secret
Name String - Name of the secret in the store.
- service String
- Name of Worker to bind to.
- store
Id String - ID of the store containing the secret.
- text String
- The text value to use.
- type String
- The kind of resource that the binding provides. Available values: "ai", "analyticsengine", "assets", "browser", "d1", "datablob", "dispatchnamespace", "durableobjectnamespace", "hyperdrive", "inherit", "images", "json", "kvnamespace", "mtlscertificate", "plaintext", "pipelines", "queue", "r2bucket", "secrettext", "sendemail", "service", "tailconsumer", "textblob", "vectorize", "versionmetadata", "secretsstoresecret", "secretkey", "workflow", "wasmmodule".
- usages List<String>
- Allowed operations with the key. Learn more.
- version
Id String - Identifier for the version to inherit the binding from, which can be the version ID or the literal "latest" to inherit from the latest version. Defaults to inheriting the binding from the latest version.
- workflow
Name String - Name of the Workflow to bind to.
GetWorkerVersionBindingOutbound
- Params List<string>
- Pass information from the Dispatch Worker to the Outbound Worker through the parameters.
- Worker
Get
Worker Version Binding Outbound Worker - Outbound worker.
- Params []string
- Pass information from the Dispatch Worker to the Outbound Worker through the parameters.
- Worker
Get
Worker Version Binding Outbound Worker - Outbound worker.
- params List<String>
- Pass information from the Dispatch Worker to the Outbound Worker through the parameters.
- worker
Get
Worker Version Binding Outbound Worker - Outbound worker.
- params string[]
- Pass information from the Dispatch Worker to the Outbound Worker through the parameters.
- worker
Get
Worker Version Binding Outbound Worker - Outbound worker.
- params Sequence[str]
- Pass information from the Dispatch Worker to the Outbound Worker through the parameters.
- worker
Get
Worker Version Binding Outbound Worker - Outbound worker.
- params List<String>
- Pass information from the Dispatch Worker to the Outbound Worker through the parameters.
- worker Property Map
- Outbound worker.
GetWorkerVersionBindingOutboundWorker
- Environment string
- Environment of the outbound worker.
- Service string
- Name of the outbound worker.
- Environment string
- Environment of the outbound worker.
- Service string
- Name of the outbound worker.
- environment String
- Environment of the outbound worker.
- service String
- Name of the outbound worker.
- environment string
- Environment of the outbound worker.
- service string
- Name of the outbound worker.
- environment str
- Environment of the outbound worker.
- service str
- Name of the outbound worker.
- environment String
- Environment of the outbound worker.
- service String
- Name of the outbound worker.
GetWorkerVersionLimits
- Cpu
Ms int - CPU time limit in milliseconds.
- Cpu
Ms int - CPU time limit in milliseconds.
- cpu
Ms Integer - CPU time limit in milliseconds.
- cpu
Ms number - CPU time limit in milliseconds.
- cpu_
ms int - CPU time limit in milliseconds.
- cpu
Ms Number - CPU time limit in milliseconds.
GetWorkerVersionMigrations
- Deleted
Classes List<string> - A list of classes to delete Durable Object namespaces from.
- New
Classes List<string> - A list of classes to create Durable Object namespaces from.
- New
Sqlite List<string>Classes - A list of classes to create Durable Object namespaces with SQLite from.
- New
Tag string - Tag to set as the latest migration tag.
- Old
Tag string - Tag used to verify against the latest migration tag for this Worker. If they don't match, the upload is rejected.
- Renamed
Classes List<GetWorker Version Migrations Renamed Class> - A list of classes with Durable Object namespaces that were renamed.
- Steps
List<Get
Worker Version Migrations Step> - Migrations to apply in order.
- Transferred
Classes List<GetWorker Version Migrations Transferred Class> - A list of transfers for Durable Object namespaces from a different Worker and class to a class defined in this Worker.
- Deleted
Classes []string - A list of classes to delete Durable Object namespaces from.
- New
Classes []string - A list of classes to create Durable Object namespaces from.
- New
Sqlite []stringClasses - A list of classes to create Durable Object namespaces with SQLite from.
- New
Tag string - Tag to set as the latest migration tag.
- Old
Tag string - Tag used to verify against the latest migration tag for this Worker. If they don't match, the upload is rejected.
- Renamed
Classes []GetWorker Version Migrations Renamed Class - A list of classes with Durable Object namespaces that were renamed.
- Steps
[]Get
Worker Version Migrations Step - Migrations to apply in order.
- Transferred
Classes []GetWorker Version Migrations Transferred Class - A list of transfers for Durable Object namespaces from a different Worker and class to a class defined in this Worker.
- deleted
Classes List<String> - A list of classes to delete Durable Object namespaces from.
- new
Classes List<String> - A list of classes to create Durable Object namespaces from.
- new
Sqlite List<String>Classes - A list of classes to create Durable Object namespaces with SQLite from.
- new
Tag String - Tag to set as the latest migration tag.
- old
Tag String - Tag used to verify against the latest migration tag for this Worker. If they don't match, the upload is rejected.
- renamed
Classes List<GetWorker Version Migrations Renamed Class> - A list of classes with Durable Object namespaces that were renamed.
- steps
List<Get
Worker Version Migrations Step> - Migrations to apply in order.
- transferred
Classes List<GetWorker Version Migrations Transferred Class> - A list of transfers for Durable Object namespaces from a different Worker and class to a class defined in this Worker.
- deleted
Classes string[] - A list of classes to delete Durable Object namespaces from.
- new
Classes string[] - A list of classes to create Durable Object namespaces from.
- new
Sqlite string[]Classes - A list of classes to create Durable Object namespaces with SQLite from.
- new
Tag string - Tag to set as the latest migration tag.
- old
Tag string - Tag used to verify against the latest migration tag for this Worker. If they don't match, the upload is rejected.
- renamed
Classes GetWorker Version Migrations Renamed Class[] - A list of classes with Durable Object namespaces that were renamed.
- steps
Get
Worker Version Migrations Step[] - Migrations to apply in order.
- transferred
Classes GetWorker Version Migrations Transferred Class[] - A list of transfers for Durable Object namespaces from a different Worker and class to a class defined in this Worker.
- deleted_
classes Sequence[str] - A list of classes to delete Durable Object namespaces from.
- new_
classes Sequence[str] - A list of classes to create Durable Object namespaces from.
- new_
sqlite_ Sequence[str]classes - A list of classes to create Durable Object namespaces with SQLite from.
- new_
tag str - Tag to set as the latest migration tag.
- old_
tag str - Tag used to verify against the latest migration tag for this Worker. If they don't match, the upload is rejected.
- renamed_
classes Sequence[GetWorker Version Migrations Renamed Class] - A list of classes with Durable Object namespaces that were renamed.
- steps
Sequence[Get
Worker Version Migrations Step] - Migrations to apply in order.
- transferred_
classes Sequence[GetWorker Version Migrations Transferred Class] - A list of transfers for Durable Object namespaces from a different Worker and class to a class defined in this Worker.
- deleted
Classes List<String> - A list of classes to delete Durable Object namespaces from.
- new
Classes List<String> - A list of classes to create Durable Object namespaces from.
- new
Sqlite List<String>Classes - A list of classes to create Durable Object namespaces with SQLite from.
- new
Tag String - Tag to set as the latest migration tag.
- old
Tag String - Tag used to verify against the latest migration tag for this Worker. If they don't match, the upload is rejected.
- renamed
Classes List<Property Map> - A list of classes with Durable Object namespaces that were renamed.
- steps List<Property Map>
- Migrations to apply in order.
- transferred
Classes List<Property Map> - A list of transfers for Durable Object namespaces from a different Worker and class to a class defined in this Worker.
GetWorkerVersionMigrationsRenamedClass
GetWorkerVersionMigrationsStep
- Deleted
Classes List<string> - A list of classes to delete Durable Object namespaces from.
- New
Classes List<string> - A list of classes to create Durable Object namespaces from.
- New
Sqlite List<string>Classes - A list of classes to create Durable Object namespaces with SQLite from.
- Renamed
Classes List<GetWorker Version Migrations Step Renamed Class> - A list of classes with Durable Object namespaces that were renamed.
- Transferred
Classes List<GetWorker Version Migrations Step Transferred Class> - A list of transfers for Durable Object namespaces from a different Worker and class to a class defined in this Worker.
- Deleted
Classes []string - A list of classes to delete Durable Object namespaces from.
- New
Classes []string - A list of classes to create Durable Object namespaces from.
- New
Sqlite []stringClasses - A list of classes to create Durable Object namespaces with SQLite from.
- Renamed
Classes []GetWorker Version Migrations Step Renamed Class - A list of classes with Durable Object namespaces that were renamed.
- Transferred
Classes []GetWorker Version Migrations Step Transferred Class - A list of transfers for Durable Object namespaces from a different Worker and class to a class defined in this Worker.
- deleted
Classes List<String> - A list of classes to delete Durable Object namespaces from.
- new
Classes List<String> - A list of classes to create Durable Object namespaces from.
- new
Sqlite List<String>Classes - A list of classes to create Durable Object namespaces with SQLite from.
- renamed
Classes List<GetWorker Version Migrations Step Renamed Class> - A list of classes with Durable Object namespaces that were renamed.
- transferred
Classes List<GetWorker Version Migrations Step Transferred Class> - A list of transfers for Durable Object namespaces from a different Worker and class to a class defined in this Worker.
- deleted
Classes string[] - A list of classes to delete Durable Object namespaces from.
- new
Classes string[] - A list of classes to create Durable Object namespaces from.
- new
Sqlite string[]Classes - A list of classes to create Durable Object namespaces with SQLite from.
- renamed
Classes GetWorker Version Migrations Step Renamed Class[] - A list of classes with Durable Object namespaces that were renamed.
- transferred
Classes GetWorker Version Migrations Step Transferred Class[] - A list of transfers for Durable Object namespaces from a different Worker and class to a class defined in this Worker.
- deleted_
classes Sequence[str] - A list of classes to delete Durable Object namespaces from.
- new_
classes Sequence[str] - A list of classes to create Durable Object namespaces from.
- new_
sqlite_ Sequence[str]classes - A list of classes to create Durable Object namespaces with SQLite from.
- renamed_
classes Sequence[GetWorker Version Migrations Step Renamed Class] - A list of classes with Durable Object namespaces that were renamed.
- transferred_
classes Sequence[GetWorker Version Migrations Step Transferred Class] - A list of transfers for Durable Object namespaces from a different Worker and class to a class defined in this Worker.
- deleted
Classes List<String> - A list of classes to delete Durable Object namespaces from.
- new
Classes List<String> - A list of classes to create Durable Object namespaces from.
- new
Sqlite List<String>Classes - A list of classes to create Durable Object namespaces with SQLite from.
- renamed
Classes List<Property Map> - A list of classes with Durable Object namespaces that were renamed.
- transferred
Classes List<Property Map> - A list of transfers for Durable Object namespaces from a different Worker and class to a class defined in this Worker.
GetWorkerVersionMigrationsStepRenamedClass
GetWorkerVersionMigrationsStepTransferredClass
- From string
- From
Script string - To string
- From string
- From
Script string - To string
- from String
- from
Script String - to String
- from string
- from
Script string - to string
- from_ str
- from_
script str - to str
- from String
- from
Script String - to String
GetWorkerVersionMigrationsTransferredClass
- From string
- From
Script string - To string
- From string
- From
Script string - To string
- from String
- from
Script String - to String
- from string
- from
Script string - to string
- from_ str
- from_
script str - to str
- from String
- from
Script String - to String
GetWorkerVersionModule
- Content
Base64 string - The base64-encoded module content.
- Content
Type string - The content type of the module.
- Name string
- The name of the module.
- Content
Base64 string - The base64-encoded module content.
- Content
Type string - The content type of the module.
- Name string
- The name of the module.
- content
Base64 String - The base64-encoded module content.
- content
Type String - The content type of the module.
- name String
- The name of the module.
- content
Base64 string - The base64-encoded module content.
- content
Type string - The content type of the module.
- name string
- The name of the module.
- content_
base64 str - The base64-encoded module content.
- content_
type str - The content type of the module.
- name str
- The name of the module.
- content
Base64 String - The base64-encoded module content.
- content
Type String - The content type of the module.
- name String
- The name of the module.
GetWorkerVersionPlacement
- Mode string
- Placement mode for the version. Available values: "smart".
- Mode string
- Placement mode for the version. Available values: "smart".
- mode String
- Placement mode for the version. Available values: "smart".
- mode string
- Placement mode for the version. Available values: "smart".
- mode str
- Placement mode for the version. Available values: "smart".
- mode String
- Placement mode for the version. Available values: "smart".
Package Details
- Repository
- Cloudflare pulumi/pulumi-cloudflare
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
cloudflareTerraform Provider.
