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
cmkArnoptionalstringcmk_arnoptionalstrcmkArnoptionalStringCmkArnoptionalstringCmkArnoptional*string#If this parameter is not specified, the default KMS key for the account is used.
copyTagsoptionalboolean | IResolvablecopy_tagsoptionaltyping.Union[bool, IResolvable]copyTagsoptionalBooleanCopyTagsoptionalboolCopyTagsoptionalinterface{}#deprecateRuleoptionalIResolvable | CfnLifecyclePolicy.CrossRegionCopyDeprecateRulePropertydeprecate_ruleoptionaltyping.Union[IResolvable, CrossRegionCopyDeprecateRuleProperty]deprecateRuleoptionalIResolvableDeprecateRuleoptionalIResolvableDeprecateRuleoptionalinterface{}#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.
retainRuleoptionalIResolvable | CfnLifecyclePolicy.CrossRegionCopyRetainRulePropertyretain_ruleoptionaltyping.Union[IResolvable, CrossRegionCopyRetainRuleProperty]retainRuleoptionalIResolvableRetainRuleoptionalIResolvableRetainRuleoptionalinterface{}#[Custom snapshot policies only] The target Region or the Amazon Resource Name (ARN) of the target Outpost for the snapshot copies.
targetRegionoptionalstringtarget_regionoptionalstrtargetRegionoptionalStringTargetRegionoptionalstringTargetRegionoptional*string#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.