RaiEgressRuleAction interface

The action an egress rule takes when it matches.

  • Allow/Deny: no additional fields needed; headers and rewrite must not be set.
  • Transform: headers is required with at least one entry; rewrite must not be set.
  • Rewrite: rewrite is required with at least one of scheme/host/path; headers is optional for injecting headers alongside the redirect.

Properties

actionType

The kind of action.

headers

Header transforms to apply. Required for Transform; optional for Rewrite; not allowed for Allow or Deny.

rewrite

Destination override. Required for Rewrite; not allowed otherwise.

Property Details

actionType

The kind of action.

actionType: string

Property Value

string

headers

Header transforms to apply. Required for Transform; optional for Rewrite; not allowed for Allow or Deny.

headers?: RaiEgressHeaderTransform[]

Property Value

rewrite

Destination override. Required for Rewrite; not allowed otherwise.

rewrite?: RaiEgressRewriteTarget

Property Value