Class ResponseHeadersPolicySecurityHeadersConfigStrictTransportSecurity


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

      • accessControlMaxAgeSec

        public java.lang.Integer accessControlMaxAgeSec()
        Returns:
        A number that CloudFront uses as the value for the `max-age` directive in the `Strict-Transport-Security` HTTP response header.
      • includeSubdomains

        public java.util.Optional<java.lang.Boolean> includeSubdomains()
        Returns:
        Whether CloudFront includes the `includeSubDomains` directive in the `Strict-Transport-Security` HTTP response header.
      • override

        public java.lang.Boolean override()
        Returns:
        Whether CloudFront overrides the `Strict-Transport-Security` HTTP response header received from the origin with the one specified in this response headers policy.
      • preload

        public java.util.Optional<java.lang.Boolean> preload()
        Returns:
        Whether CloudFront includes the `preload` directive in the `Strict-Transport-Security` HTTP response header.