CrossRegionCopyRuleProperty Struct
[Custom snapshot and AMI policies only] Specifies a cross-Region copy rule for a snapshot and AMI policies.
To specify a cross-Region copy action for event-based polices, use CrossRegionCopyAction .
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_dlm as dlm } from 'aws-cdk-lib';
const crossRegionCopyRuleProperty: dlm.CfnLifecyclePolicy.CrossRegionCopyRuleProperty = {
encrypted: false,
// the properties below are optional
cmkArn: 'cmkArn',
copyTags: false,
deprecateRule: {
interval: 123,
intervalUnit: 'intervalUnit',
},
retainRule: {
interval: 123,
intervalUnit: 'intervalUnit',
},
target: 'target',
targetRegion: 'targetRegion',
};
Properties
If this parameter is not specified, the default KMS key for the account is used.
copyTagsboolean | IResolvablecopy_tagstyping.Union[bool, IResolvable]copyTagsBooleanCopyTagsboolCopyTagsinterface{}#deprecateRuleIResolvable | CfnLifecyclePolicy.CrossRegionCopyDeprecateRulePropertydeprecate_ruletyping.Union[IResolvable, CrossRegionCopyDeprecateRuleProperty]deprecateRuleIResolvableDeprecateRuleIResolvableDeprecateRuleinterface{}#encryptedboolean | IResolvableencryptedtyping.Union[bool, IResolvable]encryptedBooleanEncryptedboolEncryptedinterface{}required#Copies of encrypted snapshots are encrypted, even if this parameter is false or if encryption by default is not enabled.
retainRuleIResolvable | CfnLifecyclePolicy.CrossRegionCopyRetainRulePropertyretain_ruletyping.Union[IResolvable, CrossRegionCopyRetainRuleProperty]retainRuleIResolvableRetainRuleIResolvableRetainRuleinterface{}#[Custom snapshot policies only] The target Region or the Amazon Resource Name (ARN) of the target Outpost for the snapshot copies.
notes
For snapshot policies, use Target instead. For snapshot policies created before the Target parameter was introduced, this parameter indicates the target Region for snapshot copies.
[Custom AMI policies only] The target Region or the Amazon Resource Name (ARN) of the target Outpost for the snapshot copies.