IpPermissionResponse

data class IpPermissionResponse(val fromPort: Int? = null, val ipProtocol: String? = null, val ipRanges: List<IpRangeResponse>? = null, val ipv6Ranges: List<Ipv6RangeResponse>? = null, val prefixListIds: List<PrefixListIdResponse>? = null, val toPort: Int? = null, val userIdGroupPairs: List<UserIdGroupPairResponse>? = null)

Definition of IpPermission

Constructors

Link copied to clipboard
constructor(fromPort: Int? = null, ipProtocol: String? = null, ipRanges: List<IpRangeResponse>? = null, ipv6Ranges: List<Ipv6RangeResponse>? = null, prefixListIds: List<PrefixListIdResponse>? = null, toPort: Int? = null, userIdGroupPairs: List<UserIdGroupPairResponse>? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val fromPort: Int? = null

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

Link copied to clipboard
val ipProtocol: String? = null

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

Use -1 to specify all protocols. When authorizing security group rules, specifying -1 or a protocol number other than tcp, udp, icmp, or icmpv6 allows traffic on all ports, regardless of any port range you specify. For tcp, udp, and icmp, you must specify a port range. For icmpv6, the port range is optional; if you omit the port range, traffic for all types and codes is allowed.

Link copied to clipboard

The IPv4 address ranges.

Link copied to clipboard

The IPv6 address ranges.

Link copied to clipboard

The prefix list IDs.

Link copied to clipboard
val toPort: Int? = null

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). If the start port is -1 (all ICMP types), then the end port must be -1 (all ICMP codes).

Link copied to clipboard

The security group and Amazon Web Services account ID pairs.