RuleGroupArgs

data class RuleGroupArgs(val capacity: Output<Int>? = null, val customResponseBodies: Output<List<RuleGroupCustomResponseBodyArgs>>? = null, val description: Output<String>? = null, val name: Output<String>? = null, val namePrefix: Output<String>? = null, val rules: Output<List<RuleGroupRuleArgs>>? = null, val scope: Output<String>? = null, val tags: Output<Map<String, String>>? = null, val visibilityConfig: Output<RuleGroupVisibilityConfigArgs>? = null) : ConvertibleToJava<RuleGroupArgs>

Constructors

Link copied to clipboard
constructor(capacity: Output<Int>? = null, customResponseBodies: Output<List<RuleGroupCustomResponseBodyArgs>>? = null, description: Output<String>? = null, name: Output<String>? = null, namePrefix: Output<String>? = null, rules: Output<List<RuleGroupRuleArgs>>? = null, scope: Output<String>? = null, tags: Output<Map<String, String>>? = null, visibilityConfig: Output<RuleGroupVisibilityConfigArgs>? = null)

Properties

Link copied to clipboard
val capacity: Output<Int>? = null

The web ACL capacity units (WCUs) required for this rule group. See here for general information and here for capacity specific information.

Link copied to clipboard

Defines custom response bodies that can be referenced by custom_response actions. See Custom Response Body below for details.

Link copied to clipboard
val description: Output<String>? = null

A friendly description of the rule group.

Link copied to clipboard
val name: Output<String>? = null

A friendly name of the rule group.

Link copied to clipboard
val namePrefix: Output<String>? = null

Creates a unique name beginning with the specified prefix. Conflicts with name.

Link copied to clipboard
val rules: Output<List<RuleGroupRuleArgs>>? = null

The rule blocks used to identify the web requests that you want to allow, block, or count. See Rules below for details.

Link copied to clipboard
val scope: Output<String>? = null

Specifies whether this is for an AWS CloudFront distribution or for a regional application. Valid values are CLOUDFRONT or REGIONAL. To work with CloudFront, you must also specify the region us-east-1 (N. Virginia) on the AWS provider.

Link copied to clipboard
val tags: Output<Map<String, String>>? = null

An array of key:value pairs to associate with the resource. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.

Link copied to clipboard

Defines and enables Amazon CloudWatch metrics and web request sample collection. See Visibility Configuration below for details.

Functions

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