Skip to content

SecurityGroupRuleDescription

Source code in docs_src/capo_fms/types/security_group_rule_description.py
class SecurityGroupRuleDescription(TypedDict, closed=True):
    ipv4_range: NotRequired["capo_fms.types.cidr.CIDR"]
    """<p>The IPv4 ranges for the security group rule.</p>"""
    ipv6_range: NotRequired["capo_fms.types.cidr.CIDR"]
    """<p>The IPv6 ranges for the security group rule.</p>"""
    prefix_list_id: NotRequired["capo_fms.types.resource_id.ResourceId"]
    """<p>The ID of the prefix list for the security group rule.</p>"""
    protocol: NotRequired["capo_fms.types.length_bounded_string.LengthBoundedString"]
    """<p>The IP protocol name (<code>tcp</code>, <code>udp</code>, <code>icmp</code>, <code>icmpv6</code>) or number.</p>"""
    from_port: NotRequired["capo_fms.types.ip_port_number.IPPortNumber"]
    """<p>The start of the port range for the TCP and UDP protocols, or an ICMP/ICMPv6 type number. A value of <code>-1</code> indicates all ICMP/ICMPv6 types.</p>"""
    to_port: NotRequired["capo_fms.types.ip_port_number.IPPortNumber"]
    """<p>The end of the port range for the TCP and UDP protocols, or an ICMP/ICMPv6 code. A value of <code>-1</code> indicates all ICMP/ICMPv6 codes.</p>"""

from_port instance-attribute

from_port: NotRequired[IPPortNumber]

The start of the port range for the TCP and UDP protocols, or an ICMP/ICMPv6 type number. A value of -1 indicates all ICMP/ICMPv6 types.

ipv4_range instance-attribute

ipv4_range: NotRequired[CIDR]

The IPv4 ranges for the security group rule.

ipv6_range instance-attribute

ipv6_range: NotRequired[CIDR]

The IPv6 ranges for the security group rule.

prefix_list_id instance-attribute

prefix_list_id: NotRequired[ResourceId]

The ID of the prefix list for the security group rule.

protocol instance-attribute

protocol: NotRequired[LengthBoundedString]

The IP protocol name (tcp, udp, icmp, icmpv6) or number.

to_port instance-attribute

to_port: NotRequired[IPPortNumber]

The end of the port range for the TCP and UDP protocols, or an ICMP/ICMPv6 code. A value of -1 indicates all ICMP/ICMPv6 codes.