Skip to content

RuleMetadata

Source code in docs_src/capo_network_firewall/types/rule_metadata.py
class RuleMetadata(TypedDict, closed=True):
    rule_enabled: NotRequired["capo_network_firewall.types.rule_enabled.RuleEnabled"]
    """<p>Specifies whether the rule is active. The default is <code>TRUE</code>. When you set this to <code>FALSE</code>, Network Firewall keeps the rule in the rule group but doesn't evaluate it against traffic and doesn't count it toward the rule group's consumed capacity.</p>"""
    rule_description: NotRequired[
        "capo_network_firewall.types.rule_description_text.RuleDescriptionText"
    ]
    """<p>A description of the rule, up to 512 characters. The description can span multiple lines. A description line can't itself look like a firewall rule; to disable a rule, set <code>RuleEnabled</code> to <code>FALSE</code> instead.</p>"""

rule_description instance-attribute

rule_description: NotRequired[RuleDescriptionText]

A description of the rule, up to 512 characters. The description can span multiple lines. A description line can't itself look like a firewall rule; to disable a rule, set RuleEnabled to FALSE instead.

rule_enabled instance-attribute

rule_enabled: NotRequired[RuleEnabled]

Specifies whether the rule is active. The default is TRUE. When you set this to FALSE, Network Firewall keeps the rule in the rule group but doesn't evaluate it against traffic and doesn't count it toward the rule group's consumed capacity.