class Aws::Drs::Types::PITPolicyRule
A rule in the Point in Time (PIT) policy representing when to take snapshots and how long to retain them for.
@note When making an API call, you may pass PITPolicyRule
data as a hash: { enabled: false, interval: 1, # required retention_duration: 1, # required rule_id: 1, units: "MINUTE", # required, accepts MINUTE, HOUR, DAY }
@!attribute [rw] enabled
Whether this rule is enabled or not. @return [Boolean]
@!attribute [rw] interval
How often, in the chosen units, a snapshot should be taken. @return [Integer]
@!attribute [rw] retention_duration
The duration to retain a snapshot for, in the chosen units. @return [Integer]
@!attribute [rw] rule_id
The ID of the rule. @return [Integer]
@!attribute [rw] units
The units used to measure the interval and retentionDuration. @return [String]
@see docs.aws.amazon.com/goto/WebAPI/drs-2020-02-26/PITPolicyRule AWS API Documentation
Constants
- SENSITIVE