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