Class DistributionCustomErrorResponse
Inheritance
System.Object
DistributionCustomErrorResponse
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Pulumi.Aws.CloudFront.Outputs
Assembly: Pulumi.Aws.dll
Syntax
public sealed class DistributionCustomErrorResponse
Fields
View SourceErrorCachingMinTtl
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.
Declaration
public readonly int? ErrorCachingMinTtl
Field Value
| Type | Description |
|---|---|
| System.Nullable<System.Int32> |
ErrorCode
The 4xx or 5xx HTTP status code that you want to customize.
Declaration
public readonly int ErrorCode
Field Value
| Type | Description |
|---|---|
| System.Int32 |
ResponseCode
The HTTP status code that you want CloudFront to return with the custom error page to the viewer.
Declaration
public readonly int? ResponseCode
Field Value
| Type | Description |
|---|---|
| System.Nullable<System.Int32> |
ResponsePagePath
The path of the custom error page (for
example, /custom_404.html).
Declaration
public readonly string ResponsePagePath
Field Value
| Type | Description |
|---|---|
| System.String |