interface PITPolicyRuleProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.DRS.CfnReplicationConfigurationTemplate.PITPolicyRuleProperty |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsdrs#CfnReplicationConfigurationTemplate_PITPolicyRuleProperty |
Java | software.amazon.awscdk.services.drs.CfnReplicationConfigurationTemplate.PITPolicyRuleProperty |
Python | aws_cdk.aws_drs.CfnReplicationConfigurationTemplate.PITPolicyRuleProperty |
TypeScript | aws-cdk-lib » aws_drs » CfnReplicationConfigurationTemplate » PITPolicyRuleProperty |
Example
// 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
| Name | Type | Description |
|---|---|---|
| interval | number | How often, in the chosen units, a snapshot should be taken. |
| retention | number | The duration to retain a snapshot for, in the chosen units. |
| units | string | The units used to measure the interval and retentionDuration. |
| enabled? | boolean | IResolvable | Whether this rule is enabled or not. |
| rule | number | The ID of the rule. |
interval
Type:
number
How often, in the chosen units, a snapshot should be taken.
retentionDuration
Type:
number
The duration to retain a snapshot for, in the chosen units.
units
Type:
string
The units used to measure the interval and retentionDuration.
enabled?
Type:
boolean | IResolvable
(optional)
Whether this rule is enabled or not.
ruleId?
Type:
number
(optional)
The ID of the rule.

.NET
Go
Java
Python
TypeScript