edge_worker
Version: v2025-01-13 | Includes use: Yes |
---|
Behavior name: EdgeWorkers
EdgeWorkers are JavaScript applications that allow you to manipulate your web traffic on edge servers outside of Property Manager behaviors, and deployed independently from your configuration's logic. This behavior applies an EdgeWorker to a set of edge requests.
Default behavior
These samples reflect the behavior's default settings. You can use these as is in your configurations or make adjustments based on the behavior's available options.
data "akamai_property_rules_builder" "edge_worker" {
rules_v2025_02_18 {
name = "EdgeWorkers"
comments = "applies an edgewWorker to a set of edge requests."
behavior {
edge_worker {
enabled = true
create_edge_worker = ""
edge_worker_id = ""
m_pulse = false
m_pulse_information = ""
}
}
}
}
"behaviors": [
{
"name": "edgeWorker",
"options": {
"enabled": true,
"createEdgeWorker": "",
"edgeWorkerId": "",
"mPulse": false,
"mPulseInformation": ""
}
}
]
Options
Option | Description |
---|---|
enabled |
When enabled, applies specified EdgeWorker functionality to this rule's web traffic.
|
edgeWorkerId |
Identifies the EdgeWorker application to apply to this rule's web traffic. You can use the EdgeWorkers API to get this value.
|
m_pulse |
Enables m_pulse reports that include data about EdgeWorkers errors generated due to JavaScript errors. For more details, see Integrate m_pulse reports with EdgeWorkers.
|
Updated about 1 hour ago