MultitenantDistributionCustomErrorResponse class
Constructors
-
MultitenantDistributionCustomErrorResponse({Input<int?>? errorCachingMinTtl, required Input<int> errorCode, Input<String?>? responseCode, Input<String?>? responsePagePath})
-
Creates a new MultitenantDistributionCustomErrorResponse.
errorCachingMinTtl Minimum amount of time that you want CloudFront to cache the HTTP status code specified in ErrorCode.
errorCode HTTP status code for which you want to specify a custom error page and/or a caching duration.
responseCode 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 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.
const
-
MultitenantDistributionCustomErrorResponse.fromMap(Map<String, dynamic> map)
-
factory
Properties
-
errorCachingMinTtl
→ Input<int?>?
-
Minimum amount of time that you want CloudFront to cache the HTTP status code specified in ErrorCode.
final
-
errorCode
→ Input<int>
-
HTTP status code for which you want to specify a custom error page and/or a caching duration.
final
-
hashCode
→ int
-
The hash code for this object.
no setterinherited
-
responseCode
→ Input<String?>?
-
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.
final
-
responsePagePath
→ Input<String?>?
-
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.
final
-
runtimeType
→ Type
-
A representation of the runtime type of the object.
no setterinherited