Properties
| Name | Type | Description |
|---|---|---|
| environment | string | Optional environment if the Worker utilizes one. |
| name | object | |
| service | string | Name of Worker to bind to |
| type | string | The class of resource that the binding provides. |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "#/components/schemas/workers_service_binding",
"title": "workers_service_binding",
"properties": {
"environment": {
"description": "Optional environment if the Worker utilizes one.",
"example": "production",
"type": "string"
},
"name": {
"$ref": "#/components/schemas/workers_binding_name"
},
"service": {
"description": "Name of Worker to bind to",
"example": "my-worker",
"type": "string"
},
"type": {
"description": "The class of resource that the binding provides.",
"enum": [
"service"
],
"example": "service",
"type": "string"
}
},
"required": [
"name",
"type",
"service",
"environment"
],
"type": "object"
}