import { PortRangeProps } from './PortRangeProps';
import { Value } from '../../../cloudformation/Value';
/**
  Describes a network access control (ACL) rule.
  For full documentation go to <a href="http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-networkinsightsanalysis-analysisaclrule.html">the AWS Docs</a>
*/
export interface AnalysisAclRuleProps {
    /** <code>PortRange</code>  <a name="cfn-ec2-networkinsightsanalysis-analysisaclrule-portrange"></a>
  The range of ports.<br />
  
  Required: No<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> */
    portRange?: PortRangeProps;
    /** <code>Cidr</code>  <a name="cfn-ec2-networkinsightsanalysis-analysisaclrule-cidr"></a>
  The IPv4 address range, in CIDR notation.<br />
  
  Required: No<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> */
    cidr?: Value<string>;
    /** <code>RuleAction</code>  <a name="cfn-ec2-networkinsightsanalysis-analysisaclrule-ruleaction"></a>
  Indicates whether to allow or deny traffic that matches the rule.<br />
  
  Required: No<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> */
    ruleAction?: Value<string>;
    /** <code>Egress</code>  <a name="cfn-ec2-networkinsightsanalysis-analysisaclrule-egress"></a>
  Indicates whether the rule is an outbound rule.<br />
  
  Required: No<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> */
    egress?: Value<boolean>;
    /** <code>RuleNumber</code>  <a name="cfn-ec2-networkinsightsanalysis-analysisaclrule-rulenumber"></a>
  The rule number.<br />
  
  Required: No<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> */
    ruleNumber?: Value<number>;
    /** <code>Protocol</code>  <a name="cfn-ec2-networkinsightsanalysis-analysisaclrule-protocol"></a>
  The protocol.<br />
  
  Required: No<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<string>;
}
