RuleMetadata
¶
Source code in docs_src/capo_network_firewall/types/rule_metadata.py
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.