Select your cookie preferences

We use essential cookies and similar tools that are necessary to provide our site and services. We use performance cookies to collect anonymous statistics, so we can understand how customers use our site and make improvements. Essential cookies cannot be deactivated, but you can choose “Customize” or “Decline” to decline performance cookies.

If you agree, AWS and approved third parties will also use cookies to provide useful site features, remember your preferences, and display relevant content, including relevant advertising. To accept or decline all non-essential cookies, choose “Accept” or “Decline.” To make more detailed choices, choose “Customize.”

StaleIpPermission - Amazon Elastic Compute Cloud

StaleIpPermission

Describes a stale rule in a security group.

Contents

fromPort

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).

Type: Integer

Required: No

groups

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

Type: Array of UserIdGroupPair objects

Required: No

ipProtocol

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

Type: String

Required: No

ipRanges

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

Type: Array of strings

Required: No

prefixListIds

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

Type: Array of strings

Required: No

toPort

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).

Type: Integer

Required: No

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following:

PrivacySite termsCookie preferences
© 2025, Amazon Web Services, Inc. or its affiliates. All rights reserved.