Class: Aws::DLM::Types::CrossRegionCopyDeprecateRule
- Inherits:
-
Struct
- Object
- Struct
- Aws::DLM::Types::CrossRegionCopyDeprecateRule
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-dlm/types.rb
Overview
**[Custom AMI policies only]** Specifies an AMI deprecation rule for cross-Region AMI copies created by an AMI policy.
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#interval ⇒ Integer
The period after which to deprecate the cross-Region AMI copies.
-
#interval_unit ⇒ String
The unit of time in which to measure the Interval.
Instance Attribute Details
#interval ⇒ Integer
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.
350 351 352 353 354 355 |
# File 'lib/aws-sdk-dlm/types.rb', line 350 class CrossRegionCopyDeprecateRule < Struct.new( :interval, :interval_unit) SENSITIVE = [] include Aws::Structure end |
#interval_unit ⇒ String
The unit of time in which to measure the Interval. For example, to deprecate a cross-Region AMI copy after 3 months, specify ‘Interval=3` and `IntervalUnit=MONTHS`.
350 351 352 353 354 355 |
# File 'lib/aws-sdk-dlm/types.rb', line 350 class CrossRegionCopyDeprecateRule < Struct.new( :interval, :interval_unit) SENSITIVE = [] include Aws::Structure end |