block

fun block(block: BlockAction.Builder.() -> Unit)

construct an aws.sdk.kotlin.services.shield.model.BlockAction inside the given block


Specifies that Shield Advanced should configure its WAF rules with the WAF Block action.

You must specify exactly one action, either Block or Count.