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 type
number. A value of C<-1> indicates all ICMP types.
IpProtocol => Str
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 (for example, tcp, udp, or icmp). For a list of protocol numbers, see Protocol Numbers. (VPC only) When you call AuthorizeSecurityGroupIngress, you can use -1 to specify all.
IpRanges => ArrayRef[Paws::EC2::IpRange]
One or more IP ranges.
PrefixListIds => ArrayRef[Paws::EC2::PrefixListId]
(Valid for AuthorizeSecurityGroupEgress, RevokeSecurityGroupEgress and
DescribeSecurityGroups only) One or more prefix list IDs for an AWS
service. In an AuthorizeSecurityGroupEgress request, this is the AWS
service that you want to access through a VPC endpoint from instances
associated with the security group.
ToPort => Int
The end of port range for the TCP and UDP protocols, or an ICMP code. A
value of C<-1> indicates all ICMP codes for the specified ICMP type.
UserIdGroupPairs => ArrayRef[Paws::EC2::UserIdGroupPair]
One or more 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