Class GetResponseHeadersPolicyResult


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

      • arn

        public java.lang.String arn()
        Returns:
        The response headers policy ARN.
      • comment

        public java.lang.String comment()
        Returns:
        Comment to describe the response headers policy. The comment cannot be longer than 128 characters.
      • corsConfigs

        public java.util.List<GetResponseHeadersPolicyCorsConfig> corsConfigs()
        Returns:
        Configuration for a set of HTTP response headers that are used for Cross-Origin Resource Sharing (CORS). See Cors Config for more information.
      • customHeadersConfigs

        public java.util.List<GetResponseHeadersPolicyCustomHeadersConfig> customHeadersConfigs()
        Returns:
        Object that contains an attribute `items` that contains a list of Custom Headers. See Custom Header for more information.
      • etag

        public java.lang.String etag()
        Returns:
        Current version of the response headers policy.
      • id

        public java.lang.String id()
      • name

        public java.lang.String name()
      • removeHeadersConfigs

        public java.util.List<GetResponseHeadersPolicyRemoveHeadersConfig> removeHeadersConfigs()
        Returns:
        Object that contains an attribute `items` that contains a list of Remove Headers. See Remove Header for more information.
      • securityHeadersConfigs

        public java.util.List<GetResponseHeadersPolicySecurityHeadersConfig> securityHeadersConfigs()
        Returns:
        A configuration for a set of security-related HTTP response headers. See Security Headers Config for more information.
      • serverTimingHeadersConfigs

        public java.util.List<GetResponseHeadersPolicyServerTimingHeadersConfig> serverTimingHeadersConfigs()
        Returns:
        (Optional) Configuration for enabling the Server-Timing header in HTTP responses sent from CloudFront. See Server Timing Headers Config for more information.