Builder

class Builder

Properties

Link copied to clipboard
var arn: String?

The Amazon Resource Name (ARN) of the entity.

Link copied to clipboard

The labels that one or more rules in this rule group add to matching web requests. These labels are defined in the RuleLabels for a Rule.

Link copied to clipboard

The web ACL capacity units (WCUs) required for this rule group.

Link copied to clipboard

The labels that one or more rules in this rule group match against in label match statements. These labels are defined in a LabelMatchStatement specification, in the Statement definition of a rule.

Link copied to clipboard

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 rule group, and then use them in the rules that you define in the rule group.

Link copied to clipboard

A description of the rule group that helps with identification.

Link copied to clipboard
var id: String?

A unique identifier for the rule group. This ID is returned in the responses to create and list commands. You provide it to operations like update and delete.

Link copied to clipboard

The label namespace prefix for this rule group. All labels added by rules in this rule group have this prefix.

Link copied to clipboard
var name: String?

The name of the rule group. You cannot change the name of a rule group after you create it.

Link copied to clipboard
var rules: List<Rule>?

The Rule statements used to identify the web requests that you want to manage. Each rule includes one top-level statement that WAF uses to identify matching web requests, and parameters that govern how WAF handles them.

Link copied to clipboard

Defines and enables Amazon CloudWatch metrics and web request sample collection.

Functions

Link copied to clipboard