Net::Amazon::EC2::IpPermission.3pm

Langue: en

Autres versions - même langue

Version: 2010-01-24 (fedora - 01/12/10)

Section: 3 (Bibliothèques de fonctions)

NAME

Net::Amazon::EC2::IpPermission

DESCRIPTION

A class representing a rule within the security group.

ATTRIBUTES

ip_protocol (required)
Protocol for the rule. e.g. tcp
from_port (required)
Start of port range for the TCP and UDP protocols, or an ICMP type number. An ICMP type number of -1 indicates a wildcard (i.e., any ICMP type number).
to_port (required)
End of port range for the TCP and UDP protocols, or an ICMP code. An ICMP code of -1 indicates a wildcard (i.e., any ICMP code).
ip_ranges (optional)
An array ref of Net::Amazon::EC2::IpRange objects to be associated with this rule.
groups (optional)
An array ref of Net::Amazon::EC2::UserIdGroupPair objects to be associated with this rule.
icmp_port (optional)
For the ICMP protocol, the ICMP type and code must be specified. This must be specified in the format type:code where both are integers. Type, code, or both can be specified as -1, which is a wildcard.

AUTHOR

Jeff Kim <cpan@chosec.com> Copyright (c) 2006-2010 Jeff Kim. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.