AWS::CloudFront::ResponseHeadersPolicy FrameOptions
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
Syntax
To declare this entity in your Amazon CloudFormation template, use the following syntax:
JSON
{ "FrameOption" :String, "Override" :Boolean}
YAML
FrameOption:StringOverride:Boolean
Properties
FrameOption-
The value of the
X-Frame-OptionsHTTP response header. Valid values areDENYandSAMEORIGIN.For more information about these values, see X-Frame-Options
in the MDN Web Docs. Required: Yes
Type: String
Allowed values:
DENY | SAMEORIGINUpdate requires: No interruption
Override-
A Boolean that determines whether CloudFront overrides the
X-Frame-OptionsHTTP response header received from the origin with the one specified in this response headers policy.Required: Yes
Type: Boolean
Update requires: No interruption