WebAclArgs

data class WebAclArgs(val associationConfig: Output<WebAclAssociationConfigArgs>? = null, val captchaConfig: Output<WebAclCaptchaConfigArgs>? = null, val challengeConfig: Output<WebAclChallengeConfigArgs>? = null, val customResponseBodies: Output<WebAclCustomResponseBodiesArgs>? = null, val defaultAction: Output<WebAclDefaultActionArgs>? = null, val description: Output<String>? = null, val name: Output<String>? = null, val rules: Output<List<WebAclRuleArgs>>? = null, val scope: Output<WebAclScope>? = null, val tags: Output<List<WebAclTagArgs>>? = null, val tokenDomains: Output<List<String>>? = null, val visibilityConfig: Output<WebAclVisibilityConfigArgs>? = null) : ConvertibleToJava<WebAclArgs>

Contains the Rules that identify the requests that you want to allow, block, or count. In a WebACL, you also specify a default action (ALLOW or BLOCK), and the action for each Rule that you add to a WebACL, for example, block requests from specified IP addresses or block requests from specified referrers. You also associate the WebACL with a CloudFront distribution to identify the requests that you want AWS WAF to filter. If you add more than one Rule to a WebACL, a request needs to match only one of the specifications to be allowed, blocked, or counted.

Constructors

Link copied to clipboard
fun WebAclArgs(associationConfig: Output<WebAclAssociationConfigArgs>? = null, captchaConfig: Output<WebAclCaptchaConfigArgs>? = null, challengeConfig: Output<WebAclChallengeConfigArgs>? = null, customResponseBodies: Output<WebAclCustomResponseBodiesArgs>? = null, defaultAction: Output<WebAclDefaultActionArgs>? = null, description: Output<String>? = null, name: Output<String>? = null, rules: Output<List<WebAclRuleArgs>>? = null, scope: Output<WebAclScope>? = null, tags: Output<List<WebAclTagArgs>>? = null, tokenDomains: Output<List<String>>? = null, visibilityConfig: Output<WebAclVisibilityConfigArgs>? = null)

Functions

Link copied to clipboard
open override fun toJava(): WebAclArgs

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val description: Output<String>? = null
Link copied to clipboard
val name: Output<String>? = null
Link copied to clipboard
val rules: Output<List<WebAclRuleArgs>>? = null

Collection of Rules.

Link copied to clipboard
val scope: Output<WebAclScope>? = null
Link copied to clipboard
val tags: Output<List<WebAclTagArgs>>? = null
Link copied to clipboard
val tokenDomains: Output<List<String>>? = null
Link copied to clipboard