Skip to content

CloudFront  >  Structures  >  ResponseHeadersPolicyFrameOptions

ResponseHeadersPolicyFrameOptions

Structure Class

ResponseHeadersPolicyFrameOptions dataclass

Bases: _SerdeShape

Determines whether CloudFront includes the X-Frame-Options HTTP response header and the header's value.

For more information about the X-Frame-Options HTTP response header, see X-Frame-Options in the MDN Web Docs.

Attributes

frame_option instance-attribute
frame_option: 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: 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.