Class CfnLifecyclePolicy.ActionProperty
[Event-based policies only] Specifies an action for an event-based policy.
Inheritance
System.Object
CfnLifecyclePolicy.ActionProperty
Implements
Namespace: Amazon.CDK.AWS.DLM
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class ActionProperty : Object, CfnLifecyclePolicy.IActionProperty
Syntax (vb)
Public Class ActionProperty
Inherits Object
Implements CfnLifecyclePolicy.IActionProperty
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.DLM;
var actionProperty = new ActionProperty {
CrossRegionCopy = new [] { new CrossRegionCopyActionProperty {
EncryptionConfiguration = new EncryptionConfigurationProperty {
Encrypted = false,
// the properties below are optional
CmkArn = "cmkArn"
},
Target = "target",
// the properties below are optional
RetainRule = new CrossRegionCopyRetainRuleProperty {
Interval = 123,
IntervalUnit = "intervalUnit"
}
} },
Name = "name"
};
Synopsis
Constructors
ActionProperty() |
Properties
CrossRegionCopy | The rule for copying shared snapshots across Regions. |
Name | A descriptive name for the action. |
Constructors
ActionProperty()
public ActionProperty()
Properties
CrossRegionCopy
The rule for copying shared snapshots across Regions.
public object CrossRegionCopy { get; set; }
Property Value
System.Object
Remarks
Name
A descriptive name for the action.
public string Name { get; set; }
Property Value
System.String