Class DistributionCustomErrorResponseArgs


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

      • errorCachingMinTtl

        public java.util.Optional<com.pulumi.core.Output<java.lang.Integer>> errorCachingMinTtl()
        Returns:
        The minimum amount of time you want HTTP error codes to stay in CloudFront caches before CloudFront queries your origin to see whether the object has been updated.
      • errorCode

        public com.pulumi.core.Output<java.lang.Integer> errorCode()
        Returns:
        The 4xx or 5xx HTTP status code that you want to customize.
      • responseCode

        public java.util.Optional<com.pulumi.core.Output<java.lang.Integer>> responseCode()
        Returns:
        The HTTP status code that you want CloudFront to return with the custom error page to the viewer.
      • responsePagePath

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> responsePagePath()
        Returns:
        The path of the custom error page (for example, `/custom_404.html`).