aws-cdk-lib.aws_dlm.CfnLifecyclePolicy.CrossRegionCopyActionProperty

interface CrossRegionCopyActionProperty

LanguageType name
.NETAmazon.CDK.AWS.DLM.CfnLifecyclePolicy.CrossRegionCopyActionProperty
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awsdlm#CfnLifecyclePolicy_CrossRegionCopyActionProperty
Javasoftware.amazon.awscdk.services.dlm.CfnLifecyclePolicy.CrossRegionCopyActionProperty
Pythonaws_cdk.aws_dlm.CfnLifecyclePolicy.CrossRegionCopyActionProperty
TypeScript aws-cdk-lib » aws_dlm » CfnLifecyclePolicy » CrossRegionCopyActionProperty

[Event-based policies only] Specifies a cross-Region copy action for event-based policies.

To specify a cross-Region copy rule for snapshot and AMI policies, use CrossRegionCopyRule .

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 crossRegionCopyActionProperty: dlm.CfnLifecyclePolicy.CrossRegionCopyActionProperty = {
  encryptionConfiguration: {
    encrypted: false,

    // the properties below are optional
    cmkArn: 'cmkArn',
  },
  target: 'target',

  // the properties below are optional
  retainRule: {
    interval: 123,
    intervalUnit: 'intervalUnit',
  },
};

Properties

NameTypeDescription
encryptionConfigurationIResolvable | EncryptionConfigurationPropertyThe encryption settings for the copied snapshot.
targetstringThe target Region.
retainRule?IResolvable | CrossRegionCopyRetainRulePropertySpecifies a retention rule for cross-Region snapshot copies created by snapshot or event-based policies, or cross-Region AMI copies created by AMI policies.

encryptionConfiguration

Type: IResolvable | EncryptionConfigurationProperty

The encryption settings for the copied snapshot.


target

Type: string

The target Region.


retainRule?

Type: IResolvable | CrossRegionCopyRetainRuleProperty (optional)

Specifies a retention rule for cross-Region snapshot copies created by snapshot or event-based policies, or cross-Region AMI copies created by AMI policies.

After the retention period expires, the cross-Region copy is deleted.