Paws::EC2::IpPermission
This class represents one of two things:
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 });
Use accessors for each attribute. If Att1 is expected to be an Paws::EC2::IpPermission object:
$result = $service_obj->Method(...); $result->Att1->FromPort
This class has no description
The start of port range for the TCP and UDP protocols, or an ICMP/ICMPv6 type number. A value of C<-1> indicates all ICMP/ICMPv6 types. If you specify all ICMP/ICMPv6 types, you must specify all codes.
The IP protocol name (C<tcp>, C<udp>, C<icmp>) or number (see Protocol Numbers (http://www.iana.org/assignments/protocol-numbers/protocol-numbers.xhtml)).
[EC2-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 58 (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 58 (ICMPv6), you can optionally specify a port range; if you don't, traffic for all types and codes is allowed when authorizing rules.
-1
tcp
udp
icmp
58
One or more IPv4 ranges.
[EC2-VPC only] One or more IPv6 ranges.
[EC2-VPC only] One or more prefix list IDs for an AWS service. With AuthorizeSecurityGroupEgress, this is the AWS service that you want to access through a VPC endpoint from instances associated with the security group.
The end of port range for the TCP and UDP protocols, or an ICMP/ICMPv6 code. A value of C<-1> indicates all ICMP/ICMPv6 codes for the specified ICMP type. If you specify all ICMP/ICMPv6 types, you must specify all codes.
One or more security group and AWS account ID pairs.
This class forms part of Paws, describing an object used in Paws::EC2
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
To install Paws::SDK::Config, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Paws::SDK::Config
CPAN shell
perl -MCPAN -e shell install Paws::SDK::Config
For more information on module installation, please visit the detailed CPAN module installation guide.