Amazon Elastic Compute Cloud
API Reference (API Version 2013-02-01)
« PreviousNext »
View the PDF for this guide.Go to the AWS Discussion Forum for this product.Did this page help you?  Yes | No |  Tell us about it...

IpPermissionType

The IpPermissionType data type.

Ancestors

  • IpPermissionSetType

Relevant Operations

  • AuthorizeSecurityGroupIngress

  • RevokeSecurityGroupIngress

  • DescribeSecurityGroups

Contents

ipProtocol

The protocol.

When you call DescribeSecurityGroups, the protocol value returned is the number. Exception: For TCP, UDP, and ICMP, the value returned is the name (e.g., tcp, udp, or icmp). For a list of protocol numbers, see Protocol Numbers.

Type: String

fromPort

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

Type: Integer

toPort

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

Type: Integer

groups

A list of security group and AWS account ID pairs. Each pair is wrapped in an item element.

Type: UserIdGroupPairType

ipRanges

A list of IP ranges. Each range is wrapped in an item element.

Type: IpRangeItemType