Class DistributionCustomErrorResponseArgs
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.Inputs
Assembly: Pulumi.Aws.dll
Syntax
public sealed class DistributionCustomErrorResponseArgs : ResourceArgs
Constructors
View SourceDistributionCustomErrorResponseArgs()
Declaration
public DistributionCustomErrorResponseArgs()
Properties
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 Input<int> ErrorCachingMinTtl { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.Int32> |
ErrorCode
The 4xx or 5xx HTTP status code that you want to customize.
Declaration
public Input<int> ErrorCode { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.Int32> |
ResponseCode
The HTTP status code that you want CloudFront to return with the custom error page to the viewer.
Declaration
public Input<int> ResponseCode { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.Int32> |
ResponsePagePath
The path of the custom error page (for
example, /custom_404.html).
Declaration
public Input<string> ResponsePagePath { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |