Interface CfnLifecyclePolicy.CrossRegionCopyActionProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnLifecyclePolicy.CrossRegionCopyActionProperty.Jsii$Proxy
- Enclosing class:
CfnLifecyclePolicy
@Stability(Stable)
public static interface CfnLifecyclePolicy.CrossRegionCopyActionProperty
extends software.amazon.jsii.JsiiSerializable
[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 software.amazon.awscdk.services.dlm.*; CrossRegionCopyActionProperty crossRegionCopyActionProperty = CrossRegionCopyActionProperty.builder() .encryptionConfiguration(EncryptionConfigurationProperty.builder() .encrypted(false) // the properties below are optional .cmkArn("cmkArn") .build()) .target("target") // the properties below are optional .retainRule(CrossRegionCopyRetainRuleProperty.builder() .interval(123) .intervalUnit("intervalUnit") .build()) .build();
- See Also:
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forCfnLifecyclePolicy.CrossRegionCopyActionProperty
static final class
An implementation forCfnLifecyclePolicy.CrossRegionCopyActionProperty
-
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getEncryptionConfiguration
The encryption settings for the copied snapshot.- See Also:
-
getTarget
The target Region.- See Also:
-
getRetainRule
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.
- See Also:
-
builder
-