EC2 Structures FilterPortRange¶ Structure Class¶ FilterPortRange dataclass ¶ Bases: _SerdeShape Describes a port range. Attributes¶ from_port class-attribute instance-attribute ¶ from_port: int | None = ... The first port in the range. to_port class-attribute instance-attribute ¶ to_port: int | None = ... The last port in the range.