MultitenantDistributionCustomErrorResponse constructor
const
MultitenantDistributionCustomErrorResponse({})
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.
Implementation
const MultitenantDistributionCustomErrorResponse({
this.errorCachingMinTtl,
required this.errorCode,
this.responseCode,
this.responsePagePath,
});