AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.
A complex type that controls:
Whether CloudFront replaces HTTP status codes in the 4xx and 5xx range with custom error messages before returning the response to the viewer.
How long CloudFront caches HTTP status codes in the 4xx and 5xx range.
For more information about custom error pages, see Customizing Error Responses in the Amazon CloudFront Developer Guide.
Namespace: Amazon.CloudFront.Model
Assembly: AWSSDK.CloudFront.dll
Version: 3.x.y.z
public class CustomErrorResponses
The CustomErrorResponses type exposes the following members
Name | Description | |
---|---|---|
CustomErrorResponses() |
Name | Type | Description | |
---|---|---|---|
Items | System.Collections.Generic.List<Amazon.CloudFront.Model.CustomErrorResponse> |
Gets and sets the property Items.
A complex type that contains a |
|
Quantity | System.Int32 |
Gets and sets the property Quantity.
The number of HTTP status codes for which you want to specify a custom error page
and/or a caching duration. If |
.NET Core App:
Supported in: 3.1
.NET Standard:
Supported in: 2.0
.NET Framework:
Supported in: 4.5, 4.0, 3.5