Interface ResponseHeadersPolicyFrameOptions.Builder

  • Method Details

    • override

      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.

      Parameters:
      override - 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:
      Returns a reference to this object so that method calls can be chained together.
    • frameOption

      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.

      Parameters:
      frameOption - 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:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • frameOption

      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.

      Parameters:
      frameOption - 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:
      Returns a reference to this object so that method calls can be chained together.
      See Also: