Skip to main content


No description

type AWSSecurityGroupIpPermission {
fromPort: Int!
ipProtocol: String!
ipv4Ranges: [AWSSecurityGroupIpPermissionIpRange!]!
ipv6Ranges: [AWSSecurityGroupIpPermissionIpv6Range]!
prefixListIds: [AWSSecurityGroupIpPermissionPrefixListId!]!
toPort: Int!
userIdGroupPairs: [AWSSecurityGroupIpPermissionUserIdGroupPair!]!


AWSSecurityGroupIpPermission.fromPort ● Int! non-null scalar

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 type number. A value of -1 indicates all ICMP/ICMPv6 types. If you specify all ICMP/ICMPv6 types, you must specify all ICMP/ICMPv6 codes

AWSSecurityGroupIpPermission.ipProtocol ● String! non-null scalar

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

AWSSecurityGroupIpPermission.ipv4Ranges ● [AWSSecurityGroupIpPermissionIpRange!]! non-null object

The IPv4 ranges

AWSSecurityGroupIpPermission.ipv6Ranges ● [AWSSecurityGroupIpPermissionIpv6Range]! non-null object

The IPv6 ranges

AWSSecurityGroupIpPermission.prefixListIds ● [AWSSecurityGroupIpPermissionPrefixListId!]! non-null object

The prefix list IDs

AWSSecurityGroupIpPermission.toPort ● Int! non-null scalar

If the protocol is TCP or UDP, this is the end of the port range

AWSSecurityGroupIpPermission.userIdGroupPairs ● [AWSSecurityGroupIpPermissionUserIdGroupPair!]! non-null object

The security group and Amazon Web Services account ID pairs

Member of

AWSVPCSecurityGroup object