Interface CfnLifecyclePolicy.ShareRuleProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnLifecyclePolicy.ShareRuleProperty.Jsii$Proxy
- Enclosing class:
CfnLifecyclePolicy
@Stability(Stable)
public static interface CfnLifecyclePolicy.ShareRuleProperty
extends software.amazon.jsii.JsiiSerializable
[Custom snapshot policies only] Specifies a rule for sharing snapshots across AWS accounts .
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.*;
ShareRuleProperty shareRuleProperty = ShareRuleProperty.builder()
.targetAccounts(List.of("targetAccounts"))
.unshareInterval(123)
.unshareIntervalUnit("unshareIntervalUnit")
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnLifecyclePolicy.ShareRulePropertystatic final classAn implementation forCfnLifecyclePolicy.ShareRuleProperty -
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getTargetAccounts
The IDs of the AWS accounts with which to share the snapshots.- See Also:
-
builder
-