Options
All
  • Public
  • Public/Protected
  • All
Menu

Namespace Origin

A detailed description of your web application's origin host server. An origin must be defined to set up WAF rules.

Properties

Optional customHeaders

customHeaders: Array<Header>

A list of HTTP headers to forward to your origin.

Optional httpPort

httpPort: undefined | number

The HTTP port on the origin that the web application listens on. If unspecified, defaults to {@code 80}. If {@code 0} is specified - the origin is not used for HTTP traffic. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.

Optional httpsPort

httpsPort: undefined | number

The HTTPS port on the origin that the web application listens on. If unspecified, defaults to {@code 443}. If {@code 0} is specified - the origin is not used for HTTPS traffic. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.

uri

uri: string

The URI of the origin. Does not support paths. Port numbers should be specified in the {@code httpPort} and {@code httpsPort} fields.

Functions

getDeserializedJsonObj

  • getDeserializedJsonObj(obj: Origin): object

getJsonObj

  • getJsonObj(obj: Origin): object