AWS SDK for .NET Documentation
ToPort Property
AmazonAmazon.EC2.ModelIpPermissionToPort Did this page help you?   Yes   No    Tell us about it...
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).
Declaration Syntax
C#
public decimal ToPort { get; set; }

Assembly: AWSSDK (Module: AWSSDK) Version: 1.5.60.0 (1.5.60.0)