import { Value } from '../../../cloudformation/Value';
/**
  Specifies a retention rule for cross-Region snapshot copies created by snapshot or event-based policies, or cross-Region AMI copies created by AMI policies. After the retention period expires, the cross-Region copy is deleted.
  For full documentation go to <a href="http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dlm-lifecyclepolicy-crossregioncopyretainrule.html">the AWS Docs</a>
*/
export interface CrossRegionCopyRetainRuleProps {
    /** <code>IntervalUnit</code>  <a name="cfn-dlm-lifecyclepolicy-crossregioncopyretainrule-intervalunit"></a>
  The unit of time for time-based retention. For example, to retain a cross-Region copy for 3 months, specify <code>Interval=3</code> and <code>IntervalUnit=MONTHS</code>.<br />
  
  Required: Yes<br />
  
  Allowed values: <code>DAYS | MONTHS | WEEKS | YEARS</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> */
    intervalUnit: Value<'DAYS' | 'MONTHS' | 'WEEKS' | 'YEARS'>;
    /** <code>Interval</code>  <a name="cfn-dlm-lifecyclepolicy-crossregioncopyretainrule-interval"></a>
  The amount of time to retain a cross-Region snapshot or AMI copy. The maximum is 100 years. This is equivalent to 1200 months, 5200 weeks, or 36500 days.<br />
  
  Required: Yes<br />
  
  Minimum: <code>1</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> */
    interval: Value<number>;
}
