customResponseBodies

@JvmName(name = "grvxmmmubgalbnoo")
suspend fun customResponseBodies(value: Output<Map<String, WebAclCustomResponseBodyArgs>>)
@JvmName(name = "bxicqwcsepmwijya")
suspend fun customResponseBodies(value: Map<String, WebAclCustomResponseBodyArgs>?)

Parameters

value

A map of custom response keys and content bodies. When you create a rule with a block action, you can send a custom response to the web request. You define these for the web ACL, and then use them in the rules and default actions that you define in the web ACL. For information about customizing web requests and responses, see Customizing web requests and responses in AWS WAF in the AWS WAF Developer Guide . For information about the limits on count and size for custom request and response settings, see AWS WAF quotas in the AWS WAF Developer Guide .


@JvmName(name = "tutyijudrtrmbixt")
suspend fun customResponseBodies(vararg argument: Pair<String, suspend WebAclCustomResponseBodyArgsBuilder.() -> Unit>)

Parameters

argument

A map of custom response keys and content bodies. When you create a rule with a block action, you can send a custom response to the web request. You define these for the web ACL, and then use them in the rules and default actions that you define in the web ACL. For information about customizing web requests and responses, see Customizing web requests and responses in AWS WAF in the AWS WAF Developer Guide . For information about the limits on count and size for custom request and response settings, see AWS WAF quotas in the AWS WAF Developer Guide .


@JvmName(name = "ibosucpfgjrdbifo")
fun customResponseBodies(vararg values: Pair<String, WebAclCustomResponseBodyArgs>)

Parameters

values

A map of custom response keys and content bodies. When you create a rule with a block action, you can send a custom response to the web request. You define these for the web ACL, and then use them in the rules and default actions that you define in the web ACL. For information about customizing web requests and responses, see Customizing web requests and responses in AWS WAF in the AWS WAF Developer Guide . For information about the limits on count and size for custom request and response settings, see AWS WAF quotas in the AWS WAF Developer Guide .