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

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
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.

[1]: developer.mozilla.org/en-US/docs/Web/HTTP/Headers/X-Frame-Options

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.

[1]: developer.mozilla.org/en-US/docs/Web/HTTP/Headers/X-Frame-Options

Returns:

  • (String)


10734
10735
10736
10737
10738
10739
# File '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 'lib/aws-sdk-cloudfront/types.rb', line 10734

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