Skip to content

/AWS1/CL_FNTRSPHEADERSPLYSTR00

Determines whether CloudFront includes the Strict-Transport-Security HTTP response header and the header's value.

For more information about the Strict-Transport-Security HTTP response header, see Strict-Transport-Security in the MDN Web Docs.

CONSTRUCTOR

IMPORTING

Required arguments:

iv_override TYPE /AWS1/FNTBOOLEAN /AWS1/FNTBOOLEAN

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

iv_accesscontrolmaxagesec TYPE /AWS1/FNTINTEGER /AWS1/FNTINTEGER

A number that CloudFront uses as the value for the max-age directive in the Strict-Transport-Security HTTP response header.

Optional arguments:

iv_includesubdomains TYPE /AWS1/FNTBOOLEAN /AWS1/FNTBOOLEAN

A Boolean that determines whether CloudFront includes the includeSubDomains directive in the Strict-Transport-Security HTTP response header.

iv_preload TYPE /AWS1/FNTBOOLEAN /AWS1/FNTBOOLEAN

A Boolean that determines whether CloudFront includes the preload directive in the Strict-Transport-Security HTTP response header.


Queryable Attributes

Override

A Boolean that determines whether CloudFront overrides the Strict-Transport-Security 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

IncludeSubdomains

A Boolean that determines whether CloudFront includes the includeSubDomains directive in the Strict-Transport-Security HTTP response header.

Accessible with the following methods

Method Description
GET_INCLUDESUBDOMAINS() Getter for INCLUDESUBDOMAINS, with configurable default
ASK_INCLUDESUBDOMAINS() Getter for INCLUDESUBDOMAINS w/ exceptions if field has no v
HAS_INCLUDESUBDOMAINS() Determine if INCLUDESUBDOMAINS has a value

Preload

A Boolean that determines whether CloudFront includes the preload directive in the Strict-Transport-Security HTTP response header.

Accessible with the following methods

Method Description
GET_PRELOAD() Getter for PRELOAD, with configurable default
ASK_PRELOAD() Getter for PRELOAD w/ exceptions if field has no value
HAS_PRELOAD() Determine if PRELOAD has a value

AccessControlMaxAgeSec

A number that CloudFront uses as the value for the max-age directive in the Strict-Transport-Security HTTP response header.

Accessible with the following methods

Method Description
GET_ACCESSCONTROLMAXAGESEC() Getter for ACCESSCONTROLMAXAGESEC, with configurable default
ASK_ACCESSCONTROLMAXAGESEC() Getter for ACCESSCONTROLMAXAGESEC w/ exceptions if field has
HAS_ACCESSCONTROLMAXAGESEC() Determine if ACCESSCONTROLMAXAGESEC has a value