Skip to content
v2.274.0

PITPolicyRuleProperty Struct ​

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_drs as drs } from 'aws-cdk-lib';
const pITPolicyRuleProperty: drs.CfnReplicationConfigurationTemplate.PITPolicyRuleProperty = {
  interval: 123,
  retentionDuration: 123,
  units: 'units',

  // the properties below are optional
  enabled: false,
  ruleId: 123,
};

Properties ​

enabledboolean | IResolvableenabledtyping.Union[bool, IResolvable]enabledBooleanEnabledboolEnabledinterface{}#
Whether this rule is enabled or not.
intervalnumberintervalint | floatintervalNumberIntervaldoubleInterval*float64required#
How often, in the chosen units, a snapshot should be taken.
retentionDurationnumberretention_durationint | floatretentionDurationNumberRetentionDurationdoubleRetentionDuration*float64required#
The duration to retain a snapshot for, in the chosen units.
ruleIdnumberrule_idint | floatruleIdNumberRuleIddoubleRuleId*float64#
The ID of the rule.
unitsstringunitsstrunitsStringUnitsstringUnits*stringrequired#
The units used to measure the interval and retentionDuration.