/AWS1/CL_WA2RULEACTIONOVERRIDE¶
Action setting to use in the place of a rule action that is configured inside the rule group. You specify one override for each rule whose action you want to change.
Verify the rule names in your overrides carefully. With managed rule groups, WAF silently ignores any override that uses an invalid rule name. With customer-owned rule groups, invalid rule names in your overrides will cause web ACL updates to fail. An invalid rule name is any name that doesn't exactly match the case-sensitive name of an existing rule in the rule group.
You can use overrides for testing, for example you can override all of rule actions to Count
and then monitor the resulting count metrics to understand how the rule group would handle your web traffic. You can also permanently override some or all actions, to modify how the rule group manages your web traffic.
CONSTRUCTOR
¶
IMPORTING¶
Required arguments:¶
iv_name
TYPE /AWS1/WA2ENTITYNAME
/AWS1/WA2ENTITYNAME
¶
The name of the rule to override.
Verify the rule names in your overrides carefully. With managed rule groups, WAF silently ignores any override that uses an invalid rule name. With customer-owned rule groups, invalid rule names in your overrides will cause web ACL updates to fail. An invalid rule name is any name that doesn't exactly match the case-sensitive name of an existing rule in the rule group.
io_actiontouse
TYPE REF TO /AWS1/CL_WA2RULEACTION
/AWS1/CL_WA2RULEACTION
¶
The override action to use, in place of the configured action of the rule in the rule group.
Queryable Attributes¶
Name¶
The name of the rule to override.
Verify the rule names in your overrides carefully. With managed rule groups, WAF silently ignores any override that uses an invalid rule name. With customer-owned rule groups, invalid rule names in your overrides will cause web ACL updates to fail. An invalid rule name is any name that doesn't exactly match the case-sensitive name of an existing rule in the rule group.
Accessible with the following methods¶
Method | Description |
---|---|
GET_NAME() |
Getter for NAME, with configurable default |
ASK_NAME() |
Getter for NAME w/ exceptions if field has no value |
HAS_NAME() |
Determine if NAME has a value |
ActionToUse¶
The override action to use, in place of the configured action of the rule in the rule group.
Accessible with the following methods¶
Method | Description |
---|---|
GET_ACTIONTOUSE() |
Getter for ACTIONTOUSE |
Public Local Types In This Class¶
Internal table types, representing arrays and maps of this class, are defined as local types:
TT_RULEACTIONOVERRIDES
¶
TYPES TT_RULEACTIONOVERRIDES TYPE STANDARD TABLE OF REF TO /AWS1/CL_WA2RULEACTIONOVERRIDE WITH DEFAULT KEY
.