import { Value } from '../../../cloudformation/Value';
/**
  <strong>[Snapshot and AMI policies only]</strong> Specifies when the policy should create snapshots or AMIs.
  For full documentation go to <a href="http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dlm-lifecyclepolicy-createrule.html">the AWS Docs</a>
*/
export interface CreateRuleProps {
    /** <code>IntervalUnit</code>  <a name="cfn-dlm-lifecyclepolicy-createrule-intervalunit"></a>
  The interval unit.<br />
  
  Required: No<br />
  
  Allowed values: <code>HOURS</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<'HOURS'>;
    /** <code>Times</code>  <a name="cfn-dlm-lifecyclepolicy-createrule-times"></a>
  The time, in UTC, to start the operation. The supported format is hh:mm.<br />
  The operation occurs within a one-hour window following the specified time. If you do not specify a time, Amazon Data Lifecycle Manager selects a time within the next 24 hours.<br />
  
  Required: No<br />
  
  Maximum: <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> */
    times?: Value<Value<string>[]>;
    /** <code>CronExpression</code>  <a name="cfn-dlm-lifecyclepolicy-createrule-cronexpression"></a>
  The schedule, as a Cron expression. The schedule interval must be between 1 hour and 1 year. For more information, see <a href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/events/ScheduledEvents.html#CronExpressions">Cron expressions</a> in the
  Amazon CloudWatch User Guide: br />
  
  Required: No<br />
  
  Minimum: <code>17</code><br />
  
  Maximum: <code>106</code><br />
  
  Pattern: <code>cron\([^\n]{11,100}\)</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> */
    cronExpression?: Value<string>;
    /** <code>Interval</code>  <a name="cfn-dlm-lifecyclepolicy-createrule-interval"></a>
  The interval between snapshots. The supported values are 1, 2, 3, 4, 6, 8, 12, and 24.<br />
  
  Required: No<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>;
    /** <code>Location</code>  <a name="cfn-dlm-lifecyclepolicy-createrule-location"></a>
  <strong>[Snapshot policies only]</strong> Specifies the destination for snapshots created by the policy. To create snapshots in the same Region as the source resource, specify <code>CLOUD</code>. To create snapshots on the same Outpost as the source resource, specify <code>OUTPOST_LOCAL</code>. If you omit this parameter, <code>CLOUD</code> is used by default.<br />
  If the policy targets resources in an AWS Region, then you must create snapshots in the same Region as the source resource. If the policy targets resources on an Outpost, then you can create snapshots on the same Outpost as the source resource, or in the Region of that Outpost.<br />
  
  Required: No<br />
  
  Allowed values: <code>CLOUD | OUTPOST_LOCAL</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> */
    location?: Value<'CLOUD' | 'OUTPOST_LOCAL'>;
}
