Custom Code Outbound Policy
Configuration
tip
Be sure to read about policies
{
"name": "my-custom-code-outbound-policy",
"policyType": "custom-code-outbound",
"handler": {
"export": "default",
"module": "$import(./modules/YOUR_MODULE)",
"options": {}
}
}
name
the name of your policy instance. This is used as a reference in your routes.policyType
the identifier of the policy. This is used by the Zuplo UI. Value should becustom-code-outbound
.handler/export
The name of the exported type. Value should beYOUR_EXPORT
.handler/module
the module containing the policy. Value should be$import(./modules/YOUR_MODULE)
.handler/options
The options for this policy: