Skip to content

AwsWafv2RulesDetails

Source code in docs_src/capo_securityhub/types/aws_wafv2_rules_details.py
class AwsWafv2RulesDetails(TypedDict, closed=True):
    action: NotRequired[
        "capo_securityhub.types.aws_wafv2_rules_action_details.AwsWafv2RulesActionDetails"
    ]
    """<p> The action that WAF should take on a web request when it matches the rule statement. Settings at the web ACL level can override the rule action setting. </p>"""
    name: NotRequired["capo_securityhub.types.non_empty_string.NonEmptyString"]
    """<p> The name of the rule. </p>"""
    override_action: NotRequired[
        "capo_securityhub.types.non_empty_string.NonEmptyString"
    ]
    """<p> The action to use in the place of the action that results from the rule group evaluation. </p>"""
    priority: NotRequired["capo_securityhub.types.integer.Integer"]
    """<p> If you define more than one Rule in a WebACL, WAF evaluates each request against the Rules in order based on the value of <code>Priority</code>. WAF processes rules with lower priority first. The priorities don't need to be consecutive, but they must all be different. </p>"""
    visibility_config: NotRequired[
        "capo_securityhub.types.aws_wafv2_visibility_config_details.AwsWafv2VisibilityConfigDetails"
    ]
    """<p> Defines and enables Amazon CloudWatch metrics and web request sample collection. </p>"""

action instance-attribute

action: NotRequired[AwsWafv2RulesActionDetails]

The action that WAF should take on a web request when it matches the rule statement. Settings at the web ACL level can override the rule action setting.

name instance-attribute

name: NotRequired[NonEmptyString]

The name of the rule.

override_action instance-attribute

override_action: NotRequired[NonEmptyString]

The action to use in the place of the action that results from the rule group evaluation.

priority instance-attribute

priority: NotRequired[Integer]

If you define more than one Rule in a WebACL, WAF evaluates each request against the Rules in order based on the value of Priority. WAF processes rules with lower priority first. The priorities don't need to be consecutive, but they must all be different.

visibility_config instance-attribute

visibility_config: NotRequired[AwsWafv2VisibilityConfigDetails]

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