Class: Aws::CloudFront::Types::ResponseHeadersPolicyFrameOptions

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-cloudfront/lib/aws-sdk-cloudfront/types.rb

Overview

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.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#frame_optionString

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.

Returns:

  • (String)


10734
10735
10736
10737
10738
10739
# File 'gems/aws-sdk-cloudfront/lib/aws-sdk-cloudfront/types.rb', line 10734

class ResponseHeadersPolicyFrameOptions < Struct.new(
  :override,
  :frame_option)
  SENSITIVE = []
  include Aws::Structure
end

#overrideBoolean

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.

Returns:

  • (Boolean)


10734
10735
10736
10737
10738
10739
# File 'gems/aws-sdk-cloudfront/lib/aws-sdk-cloudfront/types.rb', line 10734

class ResponseHeadersPolicyFrameOptions < Struct.new(
  :override,
  :frame_option)
  SENSITIVE = []
  include Aws::Structure
end