Class: Aws::CloudFront::Types::ResponseHeadersPolicyReferrerPolicy

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

Overview

Determines whether CloudFront includes the Referrer-Policy HTTP response header and the header’s value.

For more information about the Referrer-Policy HTTP response header, see Referrer-Policy in the MDN Web Docs.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#overrideBoolean

A Boolean that determines whether CloudFront overrides the Referrer-Policy HTTP response header received from the origin with the one specified in this response headers policy.

Returns:

  • (Boolean)


9863
9864
9865
9866
9867
9868
# File 'gems/aws-sdk-cloudfront/lib/aws-sdk-cloudfront/types.rb', line 9863

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

#referrer_policyString

The value of the Referrer-Policy HTTP response header. Valid values are:

  • no-referrer

  • no-referrer-when-downgrade

  • origin

  • origin-when-cross-origin

  • same-origin

  • strict-origin

  • strict-origin-when-cross-origin

  • unsafe-url

For more information about these values, see Referrer-Policy in the MDN Web Docs.

Returns:

  • (String)


9863
9864
9865
9866
9867
9868
# File 'gems/aws-sdk-cloudfront/lib/aws-sdk-cloudfront/types.rb', line 9863

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