Interface CfnLifecyclePolicy.ActionProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnLifecyclePolicy.ActionProperty.Jsii$Proxy
- Enclosing class:
- CfnLifecyclePolicy
@Stability(Stable)
public static interface CfnLifecyclePolicy.ActionProperty
extends software.amazon.jsii.JsiiSerializable
[Event-based policies only] Specifies an action for an event-based policy.
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.*;
ActionProperty actionProperty = ActionProperty.builder()
.crossRegionCopy(List.of(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()))
.name("name")
.build();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnLifecyclePolicy.ActionPropertystatic final classAn implementation forCfnLifecyclePolicy.ActionProperty -
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getCrossRegionCopy
The rule for copying shared snapshots across Regions. -
getName
A descriptive name for the action. -
builder
-