import { Value } from '../../../cloudformation/Value';
/**
  <strong>[Snapshot policies only]</strong> Specifies a rule for sharing snapshots across AWS accounts.
  For full documentation go to <a href="http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dlm-lifecyclepolicy-sharerule.html">the AWS Docs</a>
*/
export interface ShareRuleProps {
    /** <code>TargetAccounts</code>  <a name="cfn-dlm-lifecyclepolicy-sharerule-targetaccounts"></a>
  The IDs of the AWS accounts with which to share the snapshots.<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> */
    targetAccounts?: Value<Value<string>[]>;
    /** <code>UnshareIntervalUnit</code>  <a name="cfn-dlm-lifecyclepolicy-sharerule-unshareintervalunit"></a>
  The unit of time for the automatic unsharing interval.<br />
  
  Required: No<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> */
    unshareIntervalUnit?: Value<'DAYS' | 'MONTHS' | 'WEEKS' | 'YEARS'>;
    /** <code>UnshareInterval</code>  <a name="cfn-dlm-lifecyclepolicy-sharerule-unshareinterval"></a>
  The period after which snapshots that are shared with other AWS accounts are automatically unshared.<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> */
    unshareInterval?: Value<number>;
}
