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.
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.
The ID of the rule.
The units used to measure the interval and retentionDuration.