Skip to content

NetworkAclEntry

Source code in docs_src/capo_ec2/types/network_acl_entry.py
class NetworkAclEntry(TypedDict, closed=True):
    cidr_block: NotRequired["capo_ec2.types.string.String"]
    """<p>The IPv4 network range to allow or deny, in CIDR notation.</p>"""
    egress: NotRequired["capo_ec2.types.boolean.Boolean"]
    """<p>Indicates whether the rule is an egress rule (applied to traffic leaving the subnet).</p>"""
    icmp_type_code: NotRequired["capo_ec2.types.icmp_type_code.IcmpTypeCode"]
    """<p>ICMP protocol: The ICMP type and code.</p>"""
    ipv6_cidr_block: NotRequired["capo_ec2.types.string.String"]
    """<p>The IPv6 network range to allow or deny, in CIDR notation.</p>"""
    port_range: NotRequired["capo_ec2.types.port_range.PortRange"]
    """<p>TCP or UDP protocols: The range of ports the rule applies to.</p>"""
    protocol: NotRequired["capo_ec2.types.string.String"]
    """<p>The protocol number. A value of "-1" means all protocols.</p>"""
    rule_action: NotRequired["capo_ec2.types.rule_action.RuleAction"]
    """<p>Indicates whether to allow or deny the traffic that matches the rule.</p>"""
    rule_number: NotRequired["capo_ec2.types.integer.Integer"]
    """<p>The rule number for the entry. ACL entries are processed in ascending order by rule number.</p>"""

cidr_block instance-attribute

cidr_block: NotRequired[String]

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

egress instance-attribute

egress: NotRequired[Boolean]

Indicates whether the rule is an egress rule (applied to traffic leaving the subnet).

icmp_type_code instance-attribute

icmp_type_code: NotRequired[IcmpTypeCode]

ICMP protocol: The ICMP type and code.

ipv6_cidr_block instance-attribute

ipv6_cidr_block: NotRequired[String]

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

port_range instance-attribute

port_range: NotRequired[PortRange]

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

protocol instance-attribute

protocol: NotRequired[String]

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

rule_action instance-attribute

rule_action: NotRequired[RuleAction]

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

rule_number instance-attribute

rule_number: NotRequired[Integer]

The rule number for the entry. ACL entries are processed in ascending order by rule number.