Interface CfnReplicationConfigurationTemplate.IPITPolicyRuleProperty
Namespace: Amazon.CDK.AWS.DRS
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface CfnReplicationConfigurationTemplate.IPITPolicyRuleProperty
Syntax (vb)
Public Interface CfnReplicationConfigurationTemplate.IPITPolicyRuleProperty
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.DRS;
var pITPolicyRuleProperty = new PITPolicyRuleProperty {
Interval = 123,
RetentionDuration = 123,
Units = "units",
// the properties below are optional
Enabled = false,
RuleId = 123
};
Synopsis
Properties
| Enabled | Whether this rule is enabled or not. |
| Interval | How often, in the chosen units, a snapshot should be taken. |
| RetentionDuration | The duration to retain a snapshot for, in the chosen units. |
| RuleId | The ID of the rule. |
| Units | The units used to measure the interval and retentionDuration. |
Properties
Enabled
Whether this rule is enabled or not.
object? Enabled { get; }
Property Value
Remarks
Interval
How often, in the chosen units, a snapshot should be taken.
double Interval { get; }
Property Value
Remarks
RetentionDuration
The duration to retain a snapshot for, in the chosen units.
double RetentionDuration { get; }
Property Value
Remarks
RuleId
The ID of the rule.
double? RuleId { get; }
Property Value
Remarks
Units
The units used to measure the interval and retentionDuration.
string Units { get; }