Amazon Elastic Compute Cloud
API Reference (API Version 2011-12-15)
Print this pageEmail this pageGo to the ForumsView the PDFShare this page on TwitterShare this page on FacebookBookmark this page on DeliciousSubmit this page to RedditSubmit this page to DiggDid this page help you?  Yes  No   Tell us about it...

IpPermissionType

The IpPermissionType data type.

Ancestors

  • IpPermissionSetType

Relevant Operations

  • AuthorizeSecurityGroupIngress

  • RevokeSecurityGroupIngress

  • DescribeSecurityGroups

Contents

The following table describes the elements contained in IpPermissionType.

NameDescription

ipProtocol

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, go to Protocol Numbers.

Type: xsd:string

fromPort

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

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