GeoFilter interface

Rules defining user's geo access within a CDN endpoint.

Properties

action

Action of the geo filter, i.e. allow or block access.

countryCodes

Two letter country or region codes defining user country or region access in a geo filter, e.g. AU, MX, US.

relativePath

Relative path applicable to geo filter. (e.g. '/mypictures', '/mypicture/kitty.jpg', and etc.)

Property Details

action

Action of the geo filter, i.e. allow or block access.

action: GeoFilterActions

Property Value

countryCodes

Two letter country or region codes defining user country or region access in a geo filter, e.g. AU, MX, US.

countryCodes: string[]

Property Value

string[]

relativePath

Relative path applicable to geo filter. (e.g. '/mypictures', '/mypicture/kitty.jpg', and etc.)

relativePath: string

Property Value

string