Skip to content

NetworkAclEntry

Source code in docs_src/capo_fms/types/network_acl_entry.py
class NetworkAclEntry(TypedDict, closed=True):
    icmp_type_code: NotRequired[
        "capo_fms.types.network_acl_icmp_type_code.NetworkAclIcmpTypeCode"
    ]
    """<p>ICMP protocol: The ICMP type and code.</p>"""
    protocol: "capo_fms.types.length_bounded_string.LengthBoundedString"
    """<p>The protocol number. A value of "-1" means all protocols. </p>"""
    port_range: NotRequired["capo_fms.types.network_acl_port_range.NetworkAclPortRange"]
    """<p>TCP or UDP protocols: The range of ports the rule applies to.</p>"""
    cidr_block: NotRequired[
        "capo_fms.types.length_bounded_non_empty_string.LengthBoundedNonEmptyString"
    ]
    """<p>The IPv4 network range to allow or deny, in CIDR notation.</p>"""
    ipv6_cidr_block: NotRequired[
        "capo_fms.types.length_bounded_non_empty_string.LengthBoundedNonEmptyString"
    ]
    """<p>The IPv6 network range to allow or deny, in CIDR notation.</p>"""
    rule_action: "capo_fms.types.network_acl_rule_action.NetworkAclRuleAction"
    """<p>Indicates whether to allow or deny the traffic that matches the rule.</p>"""
    egress: "capo_fms.types.boolean_object.BooleanObject"
    """<p>Indicates whether the rule is an egress, or outbound, rule (applied to traffic leaving the subnet). If it's not an egress rule, then it's an ingress, or inbound, rule.</p>"""

cidr_block instance-attribute

cidr_block: NotRequired[LengthBoundedNonEmptyString]

The IPv4 network range to allow or deny, in CIDR notation.

egress instance-attribute

egress: BooleanObject

Indicates whether the rule is an egress, or outbound, rule (applied to traffic leaving the subnet). If it's not an egress rule, then it's an ingress, or inbound, rule.

icmp_type_code instance-attribute

icmp_type_code: NotRequired[NetworkAclIcmpTypeCode]

ICMP protocol: The ICMP type and code.

ipv6_cidr_block instance-attribute

ipv6_cidr_block: NotRequired[LengthBoundedNonEmptyString]

The IPv6 network range to allow or deny, in CIDR notation.

port_range instance-attribute

port_range: NotRequired[NetworkAclPortRange]

TCP or UDP protocols: The range of ports the rule applies to.

protocol instance-attribute

The protocol number. A value of "-1" means all protocols.

rule_action instance-attribute

rule_action: NetworkAclRuleAction

Indicates whether to allow or deny the traffic that matches the rule.