Class ResponseHeadersPolicyState


  • public final class ResponseHeadersPolicyState
    extends com.pulumi.resources.ResourceArgs
    • Method Detail

      • comment

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> comment()
        Returns:
        A comment to describe the response headers policy. The comment cannot be longer than 128 characters.
      • corsConfig

        public java.util.Optional<com.pulumi.core.Output<ResponseHeadersPolicyCorsConfigArgs>> corsConfig()
        Returns:
        A configuration for a set of HTTP response headers that are used for Cross-Origin Resource Sharing (CORS). See Cors Config for more information.
      • customHeadersConfig

        public java.util.Optional<com.pulumi.core.Output<ResponseHeadersPolicyCustomHeadersConfigArgs>> customHeadersConfig()
        Returns:
        Object that contains an attribute `items` that contains a list of custom headers. See Custom Header for more information.
      • etag

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> etag()
        Returns:
        The current version of the response headers policy.
      • name

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> name()
        Returns:
        A unique name to identify the response headers policy.
      • removeHeadersConfig

        public java.util.Optional<com.pulumi.core.Output<ResponseHeadersPolicyRemoveHeadersConfigArgs>> removeHeadersConfig()
        Returns:
        A configuration for a set of HTTP headers to remove from the HTTP response. Object that contains an attribute `items` that contains a list of headers. See Remove Header for more information.
      • securityHeadersConfig

        public java.util.Optional<com.pulumi.core.Output<ResponseHeadersPolicySecurityHeadersConfigArgs>> securityHeadersConfig()
        Returns:
        A configuration for a set of security-related HTTP response headers. See Security Headers Config for more information.
      • serverTimingHeadersConfig

        public java.util.Optional<com.pulumi.core.Output<ResponseHeadersPolicyServerTimingHeadersConfigArgs>> serverTimingHeadersConfig()
        Returns:
        A configuration for enabling the Server-Timing header in HTTP responses sent from CloudFront. See Server Timing Headers Config for more information.