Class GetResponseHeadersPolicySecurityHeadersConfigXssProtection


  • public final class GetResponseHeadersPolicySecurityHeadersConfigXssProtection
    extends java.lang.Object
    • Method Detail

      • modeBlock

        public java.lang.Boolean modeBlock()
        Returns:
        Whether CloudFront includes the mode=block directive in the X-XSS-Protection header.
      • override

        public java.lang.Boolean override()
        Returns:
        Whether CloudFront overrides the X-XSS-Protection HTTP response header received from the origin with the one specified in this response headers policy.
      • protection

        public java.lang.Boolean protection()
        Returns:
        Boolean value that determines the value of the X-XSS-Protection HTTP response header. When this setting is true, the value of the X-XSS-Protection header is 1. When this setting is false, the value of the X-XSS-Protection header is 0.
      • reportUri

        public java.lang.String reportUri()
        Returns:
        Whether CloudFront sets a reporting URI in the X-XSS-Protection header.