DistributionCustomErrorResponse class

Constructors

DistributionCustomErrorResponse({Input<int?>? errorCachingMinTtl, required Input<int> errorCode, Input<int?>? responseCode, Input<String?>? responsePagePath})
Creates a new DistributionCustomErrorResponse. errorCachingMinTtl 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. errorCode 4xx or 5xx HTTP status code that you want to customize. responseCode HTTP status code that you want CloudFront to return with the custom error page to the viewer. responsePagePath Path of the custom error page (for example, /custom_404.html).
const
DistributionCustomErrorResponse.fromMap(Map<String, dynamic> map)
factory

Properties

errorCachingMinTtl → Input<int?>?
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.
final
errorCode → Input<int>
4xx or 5xx HTTP status code that you want to customize.
final
hashCode → int
The hash code for this object.
no setterinherited
responseCode → Input<int?>?
HTTP status code that you want CloudFront to return with the custom error page to the viewer.
final
responsePagePath → Input<String?>?
Path of the custom error page (for example, /custom_404.html).
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited