Skip to content

EC2  >  Structures  >  AnalysisAclRule

AnalysisAclRule

Structure Class

AnalysisAclRule dataclass

Bases: _SerdeShape

Describes a network access control (ACL) rule.

Attributes

cidr class-attribute instance-attribute
cidr: str | None = ...

The IPv4 address range, in CIDR notation.

egress class-attribute instance-attribute
egress: bool | None = ...

Indicates whether the rule is an outbound rule.

port_range class-attribute instance-attribute
port_range: PortRange | None = ...

The range of ports.

protocol class-attribute instance-attribute
protocol: str | None = ...

The protocol.

rule_action class-attribute instance-attribute
rule_action: str | None = ...

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

rule_number class-attribute instance-attribute
rule_number: int | None = ...

The rule number.