Skip to content

FirewallStatelessRule

Source code in docs_src/capo_ec2/types/firewall_stateless_rule.py
class FirewallStatelessRule(TypedDict, closed=True):
    rule_group_arn: NotRequired["capo_ec2.types.resource_arn.ResourceArn"]
    """<p>The ARN of the stateless rule group.</p>"""
    sources: NotRequired["capo_ec2.types.value_string_list.ValueStringList"]
    """<p>The source IP addresses, in CIDR notation.</p>"""
    destinations: NotRequired["capo_ec2.types.value_string_list.ValueStringList"]
    """<p>The destination IP addresses, in CIDR notation.</p>"""
    source_ports: NotRequired["capo_ec2.types.port_range_list.PortRangeList"]
    """<p>The source ports.</p>"""
    destination_ports: NotRequired["capo_ec2.types.port_range_list.PortRangeList"]
    """<p>The destination ports.</p>"""
    protocols: NotRequired["capo_ec2.types.protocol_int_list.ProtocolIntList"]
    """<p>The protocols.</p>"""
    rule_action: NotRequired["capo_ec2.types.string.String"]
    """<p>The rule action. The possible values are <code>pass</code>, <code>drop</code>, and <code>forward_to_site</code>.</p>"""
    priority: NotRequired["capo_ec2.types.priority.Priority"]
    """<p>The rule priority.</p>"""

destination_ports instance-attribute

destination_ports: NotRequired[PortRangeList]

The destination ports.

destinations instance-attribute

destinations: NotRequired[ValueStringList]

The destination IP addresses, in CIDR notation.

priority instance-attribute

priority: NotRequired[Priority]

The rule priority.

protocols instance-attribute

protocols: NotRequired[ProtocolIntList]

The protocols.

rule_action instance-attribute

rule_action: NotRequired[String]

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

rule_group_arn instance-attribute

rule_group_arn: NotRequired[ResourceArn]

The ARN of the stateless rule group.

source_ports instance-attribute

source_ports: NotRequired[PortRangeList]

The source ports.

sources instance-attribute

sources: NotRequired[ValueStringList]

The source IP addresses, in CIDR notation.