Skip to content

CloudFront  >  Dictionaries  >  ResponseHeadersPolicyFrameOptionsDict

ResponseHeadersPolicyFrameOptionsDict

Dictionary Type

ResponseHeadersPolicyFrameOptionsDict

Bases: TypedDict

Dictionary form of ResponseHeadersPolicyFrameOptions.

Attributes

frame_option instance-attribute
frame_option: Required[str]

The value of the X-Frame-Options HTTP response header. Valid values are DENY and SAMEORIGIN.

For more information about these values, see X-Frame-Options in the MDN Web Docs.

override instance-attribute
override: Required[bool]

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