import { StatelessRuleGroupReferenceProps } from './StatelessRuleGroupReferenceProps';
import { StatefulRuleGroupReferenceProps } from './StatefulRuleGroupReferenceProps';
import { Value } from '../../../cloudformation/Value';
import { StatefulEngineOptionsProps } from './StatefulEngineOptionsProps';
import { CustomActionProps } from './CustomActionProps';
import { PolicyVariablesProps } from './PolicyVariablesProps';
/**
  The traffic filtering behavior of a firewall policy, defined in a collection of stateless and stateful rule groups and other settings.
  For full documentation go to <a href="http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-networkfirewall-firewallpolicy-firewallpolicy.html">the AWS Docs</a>
*/
export interface FirewallPolicyProps {
    /** <code>StatelessRuleGroupReferences</code>  <a name="cfn-networkfirewall-firewallpolicy-firewallpolicy-statelessrulegroupreferences"></a>
  References to the stateless rule groups that are used in the policy. These define the matching criteria in stateless rules.<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> */
    statelessRuleGroupReferences?: StatelessRuleGroupReferenceProps[];
    /** <code>StatefulRuleGroupReferences</code>  <a name="cfn-networkfirewall-firewallpolicy-firewallpolicy-statefulrulegroupreferences"></a>
  References to the stateful rule groups that are used in the policy. These define the inspection criteria in stateful rules.<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> */
    statefulRuleGroupReferences?: StatefulRuleGroupReferenceProps[];
    /** <code>StatelessDefaultActions</code>  <a name="cfn-networkfirewall-firewallpolicy-firewallpolicy-statelessdefaultactions"></a>
  The actions to take on a packet if it doesn’t match any of the stateless rules in the policy. If you want non-matching packets to be forwarded for stateful inspection, specify <code>aws:forward_to_sfe</code>.<br />
  You must specify one of the standard actions: <code>aws:pass</code>, <code>aws:drop</code>, or <code>aws:forward_to_sfe</code>. In addition, you can specify custom actions that are compatible with your standard section choice.<br />
  For example, you could specify <code>[&quot;aws:pass&quot;]</code> or you could specify <code>[&quot;aws:pass&quot;, “customActionName”]</code>. For information about compatibility, see the custom action descriptions.<br />
  
  Required: Yes<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> */
    statelessDefaultActions: Value<Value<string>[]>;
    /** <code>StatefulEngineOptions</code>  <a name="cfn-networkfirewall-firewallpolicy-firewallpolicy-statefulengineoptions"></a>
  Additional options governing how Network Firewall handles stateful rules. The stateful rule groups that you use in your policy must have stateful rule options settings that are compatible with these settings.<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> */
    statefulEngineOptions?: StatefulEngineOptionsProps;
    /** <code>StatelessCustomActions</code>  <a name="cfn-networkfirewall-firewallpolicy-firewallpolicy-statelesscustomactions"></a>
  The custom action definitions that are available for use in the firewall policy’s <code>StatelessDefaultActions</code> setting. You name each custom action that you define, and then you can use it by name in your default actions specifications.<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> */
    statelessCustomActions?: CustomActionProps[];
    /** <code>StatelessFragmentDefaultActions</code>  <a name="cfn-networkfirewall-firewallpolicy-firewallpolicy-statelessfragmentdefaultactions"></a>
  The actions to take on a fragmented packet if it doesn’t match any of the stateless rules in the policy. If you want non-matching fragmented packets to be forwarded for stateful inspection, specify <code>aws:forward_to_sfe</code>.<br />
  You must specify one of the standard actions: <code>aws:pass</code>, <code>aws:drop</code>, or <code>aws:forward_to_sfe</code>. In addition, you can specify custom actions that are compatible with your standard section choice.<br />
  For example, you could specify <code>[&quot;aws:pass&quot;]</code> or you could specify <code>[&quot;aws:pass&quot;, “customActionName”]</code>. For information about compatibility, see the custom action descriptions.<br />
  
  Required: Yes<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> */
    statelessFragmentDefaultActions: Value<Value<string>[]>;
    /** <code>PolicyVariables</code>  <a name="cfn-networkfirewall-firewallpolicy-firewallpolicy-policyvariables"></a>
  Contains variables that you can use to override default Suricata settings in your firewall policy.<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> */
    policyVariables?: PolicyVariablesProps;
    /** <p> */
    statefulDefaultActions?: Value<Value<string>[]>;
}
