public Subnet(Vpc vpc, string cidr, AvailabilityZone availabilityZone, RouteTable routeTableForGateway, SecurityGroup natSecurityGroup) : this(vpc, cidr, availabilityZone, false)
 {
     this.RouteTableForGateway = routeTableForGateway;
     this.NatSecurityGroup     = natSecurityGroup;
 }
 internal SecurityGroupIngress(int fromPort, int toPort, string protocol, SecurityGroup securityGroup) : base(fromPort, toPort, protocol)
 {
     SecurityGroup = securityGroup;
 }
 public List <SecurityGroupIngress> AddIngress(SecurityGroup securityGroup, Protocol protocol, Ports port)
 {
     return(this.AddIngress(securityGroup, protocol, port, port));
 }