libZSservicesZSamazonka-dlmZSamazonka-dlm
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.DLM.Types.CrossRegionCopyDeprecateRule

Description

 
Synopsis

Documentation

data CrossRegionCopyDeprecateRule Source #

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

See: newCrossRegionCopyDeprecateRule smart constructor.

Constructors

CrossRegionCopyDeprecateRule' 

Fields

  • interval :: Maybe Natural

    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.

  • intervalUnit :: Maybe RetentionIntervalUnitValues

    The unit of time in which to measure the Interval.

Instances

Instances details
Eq CrossRegionCopyDeprecateRule Source # 
Instance details

Defined in Amazonka.DLM.Types.CrossRegionCopyDeprecateRule

Read CrossRegionCopyDeprecateRule Source # 
Instance details

Defined in Amazonka.DLM.Types.CrossRegionCopyDeprecateRule

Show CrossRegionCopyDeprecateRule Source # 
Instance details

Defined in Amazonka.DLM.Types.CrossRegionCopyDeprecateRule

Generic CrossRegionCopyDeprecateRule Source # 
Instance details

Defined in Amazonka.DLM.Types.CrossRegionCopyDeprecateRule

Associated Types

type Rep CrossRegionCopyDeprecateRule :: Type -> Type #

NFData CrossRegionCopyDeprecateRule Source # 
Instance details

Defined in Amazonka.DLM.Types.CrossRegionCopyDeprecateRule

Hashable CrossRegionCopyDeprecateRule Source # 
Instance details

Defined in Amazonka.DLM.Types.CrossRegionCopyDeprecateRule

ToJSON CrossRegionCopyDeprecateRule Source # 
Instance details

Defined in Amazonka.DLM.Types.CrossRegionCopyDeprecateRule

FromJSON CrossRegionCopyDeprecateRule Source # 
Instance details

Defined in Amazonka.DLM.Types.CrossRegionCopyDeprecateRule

type Rep CrossRegionCopyDeprecateRule Source # 
Instance details

Defined in Amazonka.DLM.Types.CrossRegionCopyDeprecateRule

type Rep CrossRegionCopyDeprecateRule = D1 ('MetaData "CrossRegionCopyDeprecateRule" "Amazonka.DLM.Types.CrossRegionCopyDeprecateRule" "libZSservicesZSamazonka-dlmZSamazonka-dlm" 'False) (C1 ('MetaCons "CrossRegionCopyDeprecateRule'" 'PrefixI 'True) (S1 ('MetaSel ('Just "interval") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: S1 ('MetaSel ('Just "intervalUnit") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe RetentionIntervalUnitValues))))

newCrossRegionCopyDeprecateRule :: CrossRegionCopyDeprecateRule Source #

Create a value of CrossRegionCopyDeprecateRule with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:interval:CrossRegionCopyDeprecateRule', crossRegionCopyDeprecateRule_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.

$sel:intervalUnit:CrossRegionCopyDeprecateRule', crossRegionCopyDeprecateRule_intervalUnit - The unit of time in which to measure the Interval.

crossRegionCopyDeprecateRule_interval :: Lens' CrossRegionCopyDeprecateRule (Maybe Natural) Source #

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.