![]() |
![]()
| ![]() |
![]()
NAMEPaws::SecurityHub::AwsEc2SecurityGroupIpPermission USAGEThis 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::SecurityHub::AwsEc2SecurityGroupIpPermission 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::SecurityHub::AwsEc2SecurityGroupIpPermission object: $result = $service_obj->Method(...); $result->Att1->FromPort DESCRIPTIONAn IP permission for an EC2 security group. ATTRIBUTESFromPort => IntThe start of the 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 => StrThe IP protocol name ("tcp", "udp", "icmp", "icmpv6") or number. [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::SecurityHub::AwsEc2SecurityGroupIpRange]The IPv4 ranges. Ipv6Ranges => ArrayRef[Paws::SecurityHub::AwsEc2SecurityGroupIpv6Range]The IPv6 ranges. PrefixListIds => ArrayRef[Paws::SecurityHub::AwsEc2SecurityGroupPrefixListId][VPC only] The prefix list IDs for an AWS service. With outbound rules, this is the AWS service to access through a VPC endpoint from instances associated with the security group. ToPort => IntThe end of the 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::SecurityHub::AwsEc2SecurityGroupUserIdGroupPair]The security group and AWS account ID pairs. SEE ALSOThis class forms part of Paws, describing an object used in Paws::SecurityHub BUGS and CONTRIBUTIONSThe source code is located here: <https://github.com/pplu/aws-sdk-perl> Please report bugs to: <https://github.com/pplu/aws-sdk-perl/issues>
|