Class MultitenantDistributionCustomErrorResponseArgs


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

      • errorCachingMinTtl

        public java.util.Optional<com.pulumi.core.Output<java.lang.Integer>> errorCachingMinTtl()
        Returns:
        Minimum amount of time that you want CloudFront to cache the HTTP status code specified in ErrorCode.
      • errorCode

        public com.pulumi.core.Output<java.lang.Integer> errorCode()
        Returns:
        HTTP status code for which you want to specify a custom error page and/or a caching duration.
      • responseCode

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> responseCode()
        Returns:
        HTTP status code that you want CloudFront to return to the viewer along with the custom error page. Both `responseCode` and `responsePagePath` must be specified or both must be omitted.
      • responsePagePath

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> responsePagePath()
        Returns:
        Path to the custom error page that you want CloudFront to return to a viewer when your origin returns the HTTP status code specified by ErrorCode. Both `responseCode` and `responsePagePath` must be specified or both must be omitted.