Rule Group Args
data class RuleGroupArgs(val availableLabels: Output<List<RuleGroupLabelSummaryArgs>>? = null, val capacity: Output<Int>? = null, val consumedLabels: Output<List<RuleGroupLabelSummaryArgs>>? = null, val customResponseBodies: Output<RuleGroupCustomResponseBodiesArgs>? = null, val description: Output<String>? = null, val name: Output<String>? = null, val rules: Output<List<RuleGroupRuleArgs>>? = null, val scope: Output<RuleGroupScope>? = null, val tags: Output<List<RuleGroupTagArgs>>? = null, val visibilityConfig: Output<RuleGroupVisibilityConfigArgs>? = null) : ConvertibleToJava<RuleGroupArgs>
Contains the Rules that identify the requests that you want to allow, block, or count. In a RuleGroup, you also specify a default action (ALLOW or BLOCK), and the action for each Rule that you add to a RuleGroup, for example, block requests from specified IP addresses or block requests from specified referrers. You also associate the RuleGroup with a CloudFront distribution to identify the requests that you want AWS WAF to filter. If you add more than one Rule to a RuleGroup, a request needs to match only one of the specifications to be allowed, blocked, or counted.
Constructors
Link copied to clipboard
fun RuleGroupArgs(availableLabels: Output<List<RuleGroupLabelSummaryArgs>>? = null, capacity: Output<Int>? = null, consumedLabels: Output<List<RuleGroupLabelSummaryArgs>>? = null, customResponseBodies: Output<RuleGroupCustomResponseBodiesArgs>? = null, description: Output<String>? = null, name: Output<String>? = null, rules: Output<List<RuleGroupRuleArgs>>? = null, scope: Output<RuleGroupScope>? = null, tags: Output<List<RuleGroupTagArgs>>? = null, visibilityConfig: Output<RuleGroupVisibilityConfigArgs>? = null)