def network_port(x):
    from . import AWSHelperFn
    if isinstance(x, AWSHelperFn):
        return x
    i = integer(x)
    if ((int(i) < (- 1)) or (int(i) > 65535)):
        raise ValueError(('network port %r must been between 0 and 65535' % i))
    return x
def network_port(x):
    from . import AWSHelperFn
    if isinstance(x, AWSHelperFn):
        return x
    i = integer(x)
    if ((int(i) < (- 1)) or (int(i) > 65535)):
        raise ValueError(('network port %r must been between 0 and 65535' % i))
    return x