Skip to content

NetworkACLEntry

Source code in docs_src/capo_finspace/types/network_acl_entry.py
class NetworkACLEntry(TypedDict, closed=True):
    rule_number: "capo_finspace.types.rule_number.RuleNumber"
    """<p> The rule number for the entry. For example <i>100</i>. All the network ACL entries are processed in ascending order by rule number. </p>"""
    protocol: "capo_finspace.types.protocol.Protocol"
    """<p> The protocol number. A value of <i>-1</i> means all the protocols. </p>"""
    rule_action: "capo_finspace.types.rule_action.RuleAction"
    """<p> Indicates whether to allow or deny the traffic that matches the rule. </p>"""
    port_range: NotRequired["capo_finspace.types.port_range.PortRange"]
    """<p> The range of ports the rule applies to. </p>"""
    icmp_type_code: NotRequired["capo_finspace.types.icmp_type_code.IcmpTypeCode"]
    """<p> Defines the ICMP protocol that consists of the ICMP type and code. </p>"""
    cidr_block: "capo_finspace.types.valid_cidr_block.ValidCIDRBlock"
    """<p> The IPv4 network range to allow or deny, in CIDR notation. For example, <code>172.16.0.0/24</code>. We modify the specified CIDR block to its canonical form. For example, if you specify <code>100.68.0.18/18</code>, we modify it to <code>100.68.0.0/18</code>. </p>"""

cidr_block instance-attribute

cidr_block: ValidCIDRBlock

The IPv4 network range to allow or deny, in CIDR notation. For example, 172.16.0.0/24. We modify the specified CIDR block to its canonical form. For example, if you specify 100.68.0.18/18, we modify it to 100.68.0.0/18.

icmp_type_code instance-attribute

icmp_type_code: NotRequired[IcmpTypeCode]

Defines the ICMP protocol that consists of the ICMP type and code.

port_range instance-attribute

port_range: NotRequired[PortRange]

The range of ports the rule applies to.

protocol instance-attribute

protocol: Protocol

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

rule_action instance-attribute

rule_action: RuleAction

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

rule_number instance-attribute

rule_number: RuleNumber

The rule number for the entry. For example 100. All the network ACL entries are processed in ascending order by rule number.