import { Value } from '../../../cloudformation/Value';
/**
  A range of IP addresses and port settings that allow inbound traffic to connect to server processes on an instance in a fleet. New game sessions are assigned an IP address/port number combination, which must fall into the fleet’s allowed ranges. Fleets with custom game builds must have permissions explicitly set. For Realtime Servers fleets, GameLift automatically opens two port ranges, one for TCP messaging and one for UDP.
  For full documentation go to <a href="http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-gamelift-fleet-ippermission.html">the AWS Docs</a>
*/
export interface IpPermissionProps {
    /** <code>IpRange</code>  <a name="cfn-gamelift-fleet-ippermission-iprange"></a>
  A range of allowed IP addresses. This value must be expressed in CIDR notation. Example: “<code>000.000.000.000/[subnet mask]</code>” or optionally the shortened version “<code>0.0.0.0/[subnet mask]</code>”.<br />
  
  Required: Yes<br />
  
  Pattern: <code>[^\s]+</code><br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt">No interruption</a> */
    ipRange: Value<string>;
    /** <code>FromPort</code>  <a name="cfn-gamelift-fleet-ippermission-fromport"></a>
  A starting value for a range of allowed port numbers.<br />
  For fleets using Linux builds, only ports <code>22</code> and <code>1026-60000</code> are valid.<br />
  For fleets using Windows builds, only ports <code>1026-60000</code> are valid.<br />
  
  Required: Yes<br />
  
  Minimum: <code>1</code><br />
  
  Maximum: <code>60000</code><br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt">No interruption</a> */
    fromPort: Value<number>;
    /** <code>ToPort</code>  <a name="cfn-gamelift-fleet-ippermission-toport"></a>
  An ending value for a range of allowed port numbers. Port numbers are end-inclusive. This value must be equal to or greater than <code>FromPort</code>.<br />
  For fleets using Linux builds, only ports <code>22</code> and <code>1026-60000</code> are valid.<br />
  For fleets using Windows builds, only ports <code>1026-60000</code> are valid.<br />
  
  Required: Yes<br />
  
  Minimum: <code>1</code><br />
  
  Maximum: <code>60000</code><br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt">No interruption</a> */
    toPort: Value<number>;
    /** <code>Protocol</code>  <a name="cfn-gamelift-fleet-ippermission-protocol"></a>
  The network communication protocol used by the fleet.<br />
  
  Required: Yes<br />
  
  Allowed values: <code>TCP | UDP</code><br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt">No interruption</a> */
    protocol: Value<'TCP' | 'UDP'>;
}
