NAME
Paws::EC2::IpPermission
USAGE
This class represents one of two things:
Arguments in a call to a service
Use the attributes of this class as arguments to methods. You shouldn't make instances of this class. Each attribute should be used as a named argument in the calls that expect this type of object.
As an example, if Att1 is expected to be a Paws::EC2::IpPermission object:
$service_obj->Method(Att1 => { FromPort => $value, ..., UserIdGroupPairs => $value });
Results returned from an API call
Use accessors for each attribute. If Att1 is expected to be an Paws::EC2::IpPermission object:
$result = $service_obj->Method(...);
$result->Att1->FromPort
DESCRIPTION
This class has no description
ATTRIBUTES
FromPort => Int
The start of port range for the TCP and UDP protocols, or an ICMP/ICMPv6 type number. A value of -1
indicates all ICMP/ICMPv6 types. If you specify all ICMP/ICMPv6 types, you must specify all codes.
IpProtocol => Str
The IP protocol name (tcp
, udp
, icmp
, icmpv6
) or number (see Protocol Numbers (http://www.iana.org/assignments/protocol-numbers/protocol-numbers.xhtml)).
[VPC only] 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.
IpRanges => ArrayRef[Paws::EC2::IpRange]
The IPv4 ranges.
Ipv6Ranges => ArrayRef[Paws::EC2::Ipv6Range]
[VPC only] The IPv6 ranges.
PrefixListIds => ArrayRef[Paws::EC2::PrefixListId]
[VPC only] The prefix list IDs.
ToPort => Int
The end of port range for the TCP and UDP protocols, or an ICMP/ICMPv6 code. A value of -1
indicates all ICMP/ICMPv6 codes. If you specify all ICMP/ICMPv6 types, you must specify all codes.
UserIdGroupPairs => ArrayRef[Paws::EC2::UserIdGroupPair]
The security group and AWS account ID pairs.
SEE ALSO
This class forms part of Paws, describing an object used in Paws::EC2
BUGS and CONTRIBUTIONS
The source code is located here: https://github.com/pplu/aws-sdk-perl
Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues