Class MultitenantDistributionCustomErrorResponse
- java.lang.Object
-
- com.pulumi.aws.cloudfront.outputs.MultitenantDistributionCustomErrorResponse
-
public final class MultitenantDistributionCustomErrorResponse extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classMultitenantDistributionCustomErrorResponse.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static MultitenantDistributionCustomErrorResponse.Builderbuilder()static MultitenantDistributionCustomErrorResponse.Builderbuilder(MultitenantDistributionCustomErrorResponse defaults)java.util.Optional<java.lang.Integer>errorCachingMinTtl()java.lang.IntegererrorCode()java.util.Optional<java.lang.String>responseCode()java.util.Optional<java.lang.String>responsePagePath()
-
-
-
Method Detail
-
errorCachingMinTtl
public java.util.Optional<java.lang.Integer> errorCachingMinTtl()
- Returns:
- Minimum amount of time that you want CloudFront to cache the HTTP status code specified in ErrorCode.
-
errorCode
public 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<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<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.
-
builder
public static MultitenantDistributionCustomErrorResponse.Builder builder()
-
builder
public static MultitenantDistributionCustomErrorResponse.Builder builder(MultitenantDistributionCustomErrorResponse defaults)
-
-