Class DistributionCustomErrorResponse
- java.lang.Object
-
- com.pulumi.aws.cloudfront.outputs.DistributionCustomErrorResponse
-
public final class DistributionCustomErrorResponse extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classDistributionCustomErrorResponse.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DistributionCustomErrorResponse.Builderbuilder()static DistributionCustomErrorResponse.Builderbuilder(DistributionCustomErrorResponse defaults)java.util.Optional<java.lang.Integer>errorCachingMinTtl()java.lang.IntegererrorCode()java.util.Optional<java.lang.Integer>responseCode()java.util.Optional<java.lang.String>responsePagePath()
-
-
-
Method Detail
-
errorCachingMinTtl
public java.util.Optional<java.lang.Integer> errorCachingMinTtl()
- Returns:
- 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 java.lang.Integer errorCode()
- Returns:
- 4xx or 5xx HTTP status code that you want to customize.
-
responseCode
public java.util.Optional<java.lang.Integer> responseCode()
- Returns:
- HTTP status code that you want CloudFront to return with the custom error page to the viewer.
-
responsePagePath
public java.util.Optional<java.lang.String> responsePagePath()
- Returns:
- Path of the custom error page (for example, `/custom_404.html`).
-
builder
public static DistributionCustomErrorResponse.Builder builder()
-
builder
public static DistributionCustomErrorResponse.Builder builder(DistributionCustomErrorResponse defaults)
-
-