@Stability(value=Stable)
public static interface CfnLifecyclePolicy.ActionProperty
extends software.amazon.jsii.JsiiSerializable
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();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnLifecyclePolicy.ActionProperty.Builder
A builder for
CfnLifecyclePolicy.ActionProperty |
static class |
CfnLifecyclePolicy.ActionProperty.Jsii$Proxy
An implementation for
CfnLifecyclePolicy.ActionProperty |
| Modifier and Type | Method and Description |
|---|---|
static CfnLifecyclePolicy.ActionProperty.Builder |
builder() |
Object |
getCrossRegionCopy()
The rule for copying shared snapshots across Regions.
|
String |
getName()
A descriptive name for the action.
|
@Stability(value=Stable) @NotNull Object getCrossRegionCopy()
@Stability(value=Stable) @NotNull String getName()
@Stability(value=Stable) static CfnLifecyclePolicy.ActionProperty.Builder builder()
Copyright © 2022. All rights reserved.