Skip to content

/AWS1/CL_FNTRSPHEADERSPLYREF00

Determines whether CloudFront includes the Referrer-Policy HTTP response header and the header's value.

For more information about the Referrer-Policy HTTP response header, see Referrer-Policy in the MDN Web Docs.

CONSTRUCTOR

IMPORTING

Required arguments:

iv_override TYPE /AWS1/FNTBOOLEAN /AWS1/FNTBOOLEAN

A Boolean that determines whether CloudFront overrides the Referrer-Policy HTTP response header received from the origin with the one specified in this response headers policy.

iv_referrerpolicy TYPE /AWS1/FNTREFERRERPOLICYLIST /AWS1/FNTREFERRERPOLICYLIST

The value of the Referrer-Policy HTTP response header. Valid values are:

  • no-referrer

  • no-referrer-when-downgrade

  • origin

  • origin-when-cross-origin

  • same-origin

  • strict-origin

  • strict-origin-when-cross-origin

  • unsafe-url

For more information about these values, see Referrer-Policy in the MDN Web Docs.


Queryable Attributes

Override

A Boolean that determines whether CloudFront overrides the Referrer-Policy HTTP response header received from the origin with the one specified in this response headers policy.

Accessible with the following methods

Method Description
GET_OVERRIDE() Getter for OVERRIDE, with configurable default
ASK_OVERRIDE() Getter for OVERRIDE w/ exceptions if field has no value
HAS_OVERRIDE() Determine if OVERRIDE has a value

ReferrerPolicy

The value of the Referrer-Policy HTTP response header. Valid values are:

  • no-referrer

  • no-referrer-when-downgrade

  • origin

  • origin-when-cross-origin

  • same-origin

  • strict-origin

  • strict-origin-when-cross-origin

  • unsafe-url

For more information about these values, see Referrer-Policy in the MDN Web Docs.

Accessible with the following methods

Method Description
GET_REFERRERPOLICY() Getter for REFERRERPOLICY, with configurable default
ASK_REFERRERPOLICY() Getter for REFERRERPOLICY w/ exceptions if field has no valu
HAS_REFERRERPOLICY() Determine if REFERRERPOLICY has a value