import { Value } from '../../../cloudformation/Value';
import { CrossRegionCopyDeprecateRuleProps } from './CrossRegionCopyDeprecateRuleProps';
import { CrossRegionCopyRetainRuleProps } from './CrossRegionCopyRetainRuleProps';
/**
  <strong>[Snapshot and AMI policies only]</strong> Specifies a cross-Region copy rule for snapshot and AMI policies.
  For full documentation go to <a href="http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dlm-lifecyclepolicy-crossregioncopyrule.html">the AWS Docs</a>
*/
export interface CrossRegionCopyRuleProps {
    /** <code>TargetRegion</code>  <a name="cfn-dlm-lifecyclepolicy-crossregioncopyrule-targetregion"></a>
  Avoid using this parameter when creating new policies. Instead, use <strong>Target</strong> to specify a target Region or a target Outpost for snapshot copies.<br />
  For policies created before the <strong>Target</strong> parameter was introduced, this parameter indicates the target Region for snapshot copies.
  
  Required: No<br />
  
  Minimum: <code>0</code><br />
  
  Maximum: <code>16</code><br />
  
  Pattern: <code>([a-z]+-){2,3}\d</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> */
    targetRegion?: Value<string>;
    /** <code>Target</code>  <a name="cfn-dlm-lifecyclepolicy-crossregioncopyrule-target"></a>
  The target Region or the Amazon Resource Name (ARN) of the target Outpost for the snapshot copies.<br />
  Use this parameter instead of <strong>TargetRegion</strong>. Do not specify both.<br />
  
  Required: No<br />
  
  Minimum: <code>0</code><br />
  
  Maximum: <code>2048</code><br />
  
  Pattern: <code>^[\w:\-\/\*]+$</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> */
    target?: Value<string>;
    /** <code>DeprecateRule</code>  <a name="cfn-dlm-lifecyclepolicy-crossregioncopyrule-deprecaterule"></a>
  Property description not available.<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> */
    deprecateRule?: CrossRegionCopyDeprecateRuleProps;
    /** <code>Encrypted</code>  <a name="cfn-dlm-lifecyclepolicy-crossregioncopyrule-encrypted"></a>
  To encrypt a copy of an unencrypted snapshot if encryption by default is not enabled, enable encryption using this parameter. Copies of encrypted snapshots are encrypted, even if this parameter is false or if encryption by default is not enabled.<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> */
    encrypted: Value<boolean>;
    /** <code>CmkArn</code>  <a name="cfn-dlm-lifecyclepolicy-crossregioncopyrule-cmkarn"></a>
  The Amazon Resource Name (ARN) of the AWS KMS key to use for EBS encryption. If this parameter is not specified, the default KMS key for the account is used.<br />
  
  Required: No<br />
  
  Minimum: <code>0</code><br />
  
  Maximum: <code>2048</code><br />
  
  Pattern: <code>arn:aws(-[a-z]{1,3}){0,2}:kms:([a-z]+-){2,3}\d:\d+:key/.*</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> */
    cmkArn?: Value<string>;
    /** <code>RetainRule</code>  <a name="cfn-dlm-lifecyclepolicy-crossregioncopyrule-retainrule"></a>
  The retention rule that indicates how long the cross-Region snapshot or AMI copies are to be retained in the destination Region.<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> */
    retainRule?: CrossRegionCopyRetainRuleProps;
    /** <code>CopyTags</code>  <a name="cfn-dlm-lifecyclepolicy-crossregioncopyrule-copytags"></a>
  Indicates whether to copy all user-defined tags from the source snapshot or AMI to the cross-Region copy.<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> */
    copyTags?: Value<boolean>;
}
