Package com.pulumi.aws.cloudfront.inputs
Class DistributionCustomErrorResponseArgs
- java.lang.Object
-
- com.pulumi.resources.InputArgs
-
- com.pulumi.resources.ResourceArgs
-
- com.pulumi.aws.cloudfront.inputs.DistributionCustomErrorResponseArgs
-
public final class DistributionCustomErrorResponseArgs extends com.pulumi.resources.ResourceArgs
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
DistributionCustomErrorResponseArgs.Builder
-
Field Summary
Fields Modifier and Type Field Description static DistributionCustomErrorResponseArgs
Empty
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DistributionCustomErrorResponseArgs.Builder
builder()
static DistributionCustomErrorResponseArgs.Builder
builder(DistributionCustomErrorResponseArgs defaults)
java.util.Optional<com.pulumi.core.Output<java.lang.Integer>>
errorCachingMinTtl()
com.pulumi.core.Output<java.lang.Integer>
errorCode()
java.util.Optional<com.pulumi.core.Output<java.lang.Integer>>
responseCode()
java.util.Optional<com.pulumi.core.Output<java.lang.String>>
responsePagePath()
-
-
-
Field Detail
-
Empty
public static final DistributionCustomErrorResponseArgs Empty
-
-
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`).
-
builder
public static DistributionCustomErrorResponseArgs.Builder builder()
-
builder
public static DistributionCustomErrorResponseArgs.Builder builder(DistributionCustomErrorResponseArgs defaults)
-
-