import { PatchStringDateProps } from './PatchStringDateProps';
import { Value } from '../../../cloudformation/Value';
import { PatchFilterGroupProps } from './PatchFilterGroupProps';
/**
  The <code>Rule</code> property type specifies an approval rule for a Systems Manager patch baseline.
  For full documentation go to <a href="http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ssm-patchbaseline-rule.html">the AWS Docs</a>
*/
export interface RuleProps {
    /** <code>ApproveUntilDate</code>  <a name="cfn-ssm-patchbaseline-rule-approveuntildate"></a>
  The cutoff date for auto approval of released patches. Any patches released on or before this date are installed automatically. Not supported on Debian Server or Ubuntu Server.<br />
  Enter dates in the format <code>YYYY-MM-DD</code>. For example, <code>2021-12-31</code>.<br />
  
  Required: No<br />
  
  Minimum: <code>1</code><br />
  
  Maximum: <code>10</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> */
    approveUntilDate?: PatchStringDateProps;
    /** <code>EnableNonSecurity</code>  <a name="cfn-ssm-patchbaseline-rule-enablenonsecurity"></a>
  For managed nodes identified by the approval rule filters, enables a patch baseline to apply non-security updates available in the specified repository. The default value is <code>false</code>. Applies to Linux managed nodes only.<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> */
    enableNonSecurity?: Value<boolean>;
    /** <code>PatchFilterGroup</code>  <a name="cfn-ssm-patchbaseline-rule-patchfiltergroup"></a>
  The patch filter group that defines the criteria for 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> */
    patchFilterGroup?: PatchFilterGroupProps;
    /** <code>ApproveAfterDays</code>  <a name="cfn-ssm-patchbaseline-rule-approveafterdays"></a>
  The number of days after the release date of each patch matched by the rule that the patch is marked as approved in the patch baseline. For example, a value of <code>7</code> means that patches are approved seven days after they are released.<br />
  You must specify a value for <code>ApproveAfterDays</code>.<br />
  Exception: Not supported on Debian Server or Ubuntu Server.<br />
  
  Required: Conditional<br />
  
  Minimum: <code>0</code><br />
  
  Maximum: <code>360</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> */
    approveAfterDays?: Value<number>;
    /** <code>ComplianceLevel</code>  <a name="cfn-ssm-patchbaseline-rule-compliancelevel"></a>
  A compliance severity level for all approved patches in a patch baseline. Valid compliance severity levels include the following: <code>UNSPECIFIED</code>, <code>CRITICAL</code>, <code>HIGH</code>, <code>MEDIUM</code>, <code>LOW</code>, and <code>INFORMATIONAL</code>.<br />
  
  Required: No<br />
  
  Allowed values: <code>CRITICAL | HIGH | INFORMATIONAL | LOW | MEDIUM | UNSPECIFIED</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> */
    complianceLevel?: Value<'CRITICAL' | 'HIGH' | 'INFORMATIONAL' | 'LOW' | 'MEDIUM' | 'UNSPECIFIED'>;
}
