Documentation
Policies Reference
Policies are building blocks of functionality within Express Gateway. Policies can be thought of as wrappers around Express middleware that add dynamic evaluation and executional behavior through:
- a condition
- an action
- parameters
A policy can have one or many conditions and action pairs. A condition and an action can each have their own set of unique parameters that make the pair unique.
Policies can be highly customized with using JavaScript objects and functions exposed by Express Gateway. JavaScript objects and functions can be specified within conditions, action and parameters to dynamically execute logic.
See the Policy Customization Reference for how to specify logic within conditions, actions and policies such as the Expression policy.