You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Class: Aws::DLM::Types::CrossRegionCopyRetainRule

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing CrossRegionCopyRetainRule as input to an Aws::Client method, you can use a vanilla Hash:

{
  interval: 1,
  interval_unit: "DAYS", # accepts DAYS, WEEKS, MONTHS, YEARS
}

Specifies the retention rule for cross-Region snapshot copies.

Returned by:

Instance Attribute Summary collapse

Instance Attribute Details

#intervalInteger

The amount of time to retain each snapshot. The maximum is 100 years. This is equivalent to 1200 months, 5200 weeks, or 36500 days.

Returns:

  • (Integer)

    The amount of time to retain each snapshot.

#interval_unitString

The unit of time for time-based retention.

Possible values:

  • DAYS
  • WEEKS
  • MONTHS
  • YEARS

Returns:

  • (String)

    The unit of time for time-based retention.