Skip to content

EC2  >  Structures  >  FirewallStatelessRule

FirewallStatelessRule

Structure Class

FirewallStatelessRule dataclass

Bases: _SerdeShape

Describes a stateless rule.

Attributes

destination_ports class-attribute instance-attribute
destination_ports: list[PortRange] | None = ...

The destination ports.

destinations class-attribute instance-attribute
destinations: list[str] | None = ...

The destination IP addresses, in CIDR notation.

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

The rule priority.

protocols class-attribute instance-attribute
protocols: list[int] | None = ...

The protocols.

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

The rule action. The possible values are pass, drop, and forward_to_site.

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

The ARN of the stateless rule group.

source_ports class-attribute instance-attribute
source_ports: list[PortRange] | None = ...

The source ports.

sources class-attribute instance-attribute
sources: list[str] | None = ...

The source IP addresses, in CIDR notation.