DistributionCustomErrorResponse
¶
Source code in docs_src/capo_lightsail/types/distribution_custom_error_response.py
error_caching_min_ttl
instance-attribute
¶
error_caching_min_ttl: NotRequired[long]
The minimum time, in seconds, that the distribution caches the custom error response before requesting the object again from the origin. If you don't specify a value, the default is 10 seconds.
error_code
instance-attribute
¶
error_code: NotRequired[integer]
The HTTP error code from the origin that triggers the custom error response (for example, 403 or 404).