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();