class Aws::DLM::Types::CrossRegionCopyDeprecateRule

Specifies an AMI deprecation rule for cross-Region AMI copies created by a cross-Region copy rule.

@note When making an API call, you may pass CrossRegionCopyDeprecateRule

data as a hash:

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

@!attribute [rw] interval

The period after which to deprecate the cross-Region AMI copies. The
period must be less than or equal to the cross-Region AMI copy
retention period, and it can't be greater than 10 years. This is
equivalent to 120 months, 520 weeks, or 3650 days.
@return [Integer]

@!attribute [rw] interval_unit

The unit of time in which to measure the **Interval**.
@return [String]

@see docs.aws.amazon.com/goto/WebAPI/dlm-2018-01-12/CrossRegionCopyDeprecateRule AWS API Documentation

Constants

SENSITIVE