Skip to content

FirewallRulesSource

Source code in docs_src/capo_network_firewall/types/firewall_rules_source.py
class FirewallRulesSource(TypedDict, closed=True):
    rules_string: NotRequired["capo_network_firewall.types.rules_string.RulesString"]
    """<p>Firewall engine rules, provided as a single Suricata-compatible rule string in firewall mode. Use this to provide rules that you've already written in the Suricata firewall-mode format. For the rule format, see <a href="https://docs.aws.amazon.com/network-firewall/latest/developerguide/rule-groups-v2.html">Rule groups for a firewall using a Next Generation policy</a> in the <i>Network Firewall Developer Guide</i>.</p>"""
    firewall_rules: NotRequired[
        "capo_network_firewall.types.firewall_rules.FirewallRules"
    ]
    """<p>An array of individual firewall engine rules, provided as structured rules rather than as a rule string.</p>"""
    rules_source_list: NotRequired[
        "capo_network_firewall.types.rules_source_list.RulesSourceList"
    ]
    """<p>Stateful inspection criteria for a domain list, specified as the list of domain names that Network Firewall generates firewall engine rules from.</p>"""

firewall_rules instance-attribute

firewall_rules: NotRequired[FirewallRules]

An array of individual firewall engine rules, provided as structured rules rather than as a rule string.

rules_source_list instance-attribute

rules_source_list: NotRequired[RulesSourceList]

Stateful inspection criteria for a domain list, specified as the list of domain names that Network Firewall generates firewall engine rules from.

rules_string instance-attribute

rules_string: NotRequired[RulesString]

Firewall engine rules, provided as a single Suricata-compatible rule string in firewall mode. Use this to provide rules that you've already written in the Suricata firewall-mode format. For the rule format, see Rule groups for a firewall using a Next Generation policy in the Network Firewall Developer Guide.