customErrorResponses

@JvmName(name = "hlonidsqilmaiaax")
suspend fun customErrorResponses(value: Output<List<CustomErrorResponseArgs>>)
@JvmName(name = "jkufpikvckgqpwcb")
suspend fun customErrorResponses(value: List<CustomErrorResponseArgs>?)

Parameters

value

A complex type that controls the following: + Whether CloudFront replaces HTTP status codes in the 4xx and 5xx range with custom error messages before returning the response to the viewer. + How long CloudFront caches HTTP status codes in the 4xx and 5xx range. For more information about custom error pages, see Customizing Error Responses in the Amazon CloudFront Developer Guide.


@JvmName(name = "vrpjbpbjqgbvqcog")
suspend fun customErrorResponses(vararg values: Output<CustomErrorResponseArgs>)


@JvmName(name = "wlgaqlrdwkiysbfp")
suspend fun customErrorResponses(values: List<Output<CustomErrorResponseArgs>>)
@JvmName(name = "nexcblrmlcadnjjq")
suspend fun customErrorResponses(vararg values: CustomErrorResponseArgs)

Parameters

values

A complex type that controls the following: + Whether CloudFront replaces HTTP status codes in the 4xx and 5xx range with custom error messages before returning the response to the viewer. + How long CloudFront caches HTTP status codes in the 4xx and 5xx range. For more information about custom error pages, see Customizing Error Responses in the Amazon CloudFront Developer Guide.


@JvmName(name = "glaghkxqopwndalh")
suspend fun customErrorResponses(argument: List<suspend CustomErrorResponseArgsBuilder.() -> Unit>)
@JvmName(name = "hneklnfgisbumxdq")
suspend fun customErrorResponses(vararg argument: suspend CustomErrorResponseArgsBuilder.() -> Unit)
@JvmName(name = "avhoqgjgkvowsbir")
suspend fun customErrorResponses(argument: suspend CustomErrorResponseArgsBuilder.() -> Unit)

Parameters

argument

A complex type that controls the following: + Whether CloudFront replaces HTTP status codes in the 4xx and 5xx range with custom error messages before returning the response to the viewer. + How long CloudFront caches HTTP status codes in the 4xx and 5xx range. For more information about custom error pages, see Customizing Error Responses in the Amazon CloudFront Developer Guide.