Skip to content

StaleIpPermission

Source code in docs_src/capo_ec2/types/stale_ip_permission.py
class StaleIpPermission(TypedDict, closed=True):
    from_port: NotRequired["capo_ec2.types.integer.Integer"]
    """<p>If the protocol is TCP or UDP, this is the start of the port range. If the protocol is ICMP or ICMPv6, this is the ICMP type or -1 (all ICMP types).</p>"""
    ip_protocol: NotRequired["capo_ec2.types.string.String"]
    """<p>The IP protocol name (<code>tcp</code>, <code>udp</code>, <code>icmp</code>, <code>icmpv6</code>) or number (see <a href="http://www.iana.org/assignments/protocol-numbers/protocol-numbers.xhtml">Protocol Numbers)</a>.</p>"""
    ip_ranges: NotRequired["capo_ec2.types.ip_ranges.IpRanges"]
    """<p>The IP ranges. Not applicable for stale security group rules.</p>"""
    prefix_list_ids: NotRequired["capo_ec2.types.prefix_list_id_set.PrefixListIdSet"]
    """<p>The prefix list IDs. Not applicable for stale security group rules.</p>"""
    to_port: NotRequired["capo_ec2.types.integer.Integer"]
    """<p>If the protocol is TCP or UDP, this is the end of the port range. If the protocol is ICMP or ICMPv6, this is the ICMP code or -1 (all ICMP codes).</p>"""
    user_id_group_pairs: NotRequired[
        "capo_ec2.types.user_id_group_pair_set.UserIdGroupPairSet"
    ]
    """<p>The security group pairs. Returns the ID of the referenced security group and VPC, and the ID and status of the VPC peering connection.</p>"""

from_port instance-attribute

from_port: NotRequired[Integer]

If the protocol is TCP or UDP, this is the start of the port range. If the protocol is ICMP or ICMPv6, this is the ICMP type or -1 (all ICMP types).

ip_protocol instance-attribute

ip_protocol: NotRequired[String]

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

ip_ranges instance-attribute

ip_ranges: NotRequired[IpRanges]

The IP ranges. Not applicable for stale security group rules.

prefix_list_ids instance-attribute

prefix_list_ids: NotRequired[PrefixListIdSet]

The prefix list IDs. Not applicable for stale security group rules.

to_port instance-attribute

to_port: NotRequired[Integer]

If the protocol is TCP or UDP, this is the end of the port range. If the protocol is ICMP or ICMPv6, this is the ICMP code or -1 (all ICMP codes).

user_id_group_pairs instance-attribute

user_id_group_pairs: NotRequired[UserIdGroupPairSet]

The security group pairs. Returns the ID of the referenced security group and VPC, and the ID and status of the VPC peering connection.