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)


10173
10174
10175
10176
10177
10178
# File 'gems/aws-sdk-cloudfront/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 'gems/aws-sdk-cloudfront/lib/aws-sdk-cloudfront/types.rb', line 10173

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