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
Modifier and TypeInterfaceDescriptionstatic final class
A builder forCfnLifecyclePolicy.ActionProperty
static final class
An 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
-