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)


10173
10174
10175
10176
10177
10178
# File 'lib/aws-sdk-cloudfront/types.rb', line 10173

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)


10173
10174
10175
10176
10177
10178
# File 'lib/aws-sdk-cloudfront/types.rb', line 10173

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