libZSservicesZSamazonka-elasticbeanstalkZSamazonka-elasticbeanstalk
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.ElasticBeanstalk.Types.MaxAgeRule

Description

 
Synopsis

Documentation

data MaxAgeRule Source #

A lifecycle rule that deletes application versions after the specified number of days.

See: newMaxAgeRule smart constructor.

Constructors

MaxAgeRule' 

Fields

  • deleteSourceFromS3 :: Maybe Bool

    Set to true to delete a version's source bundle from Amazon S3 when Elastic Beanstalk deletes the application version.

  • maxAgeInDays :: Maybe Int

    Specify the number of days to retain an application versions.

  • enabled :: Bool

    Specify true to apply the rule, or false to disable it.

Instances

Instances details
Eq MaxAgeRule Source # 
Instance details

Defined in Amazonka.ElasticBeanstalk.Types.MaxAgeRule

Read MaxAgeRule Source # 
Instance details

Defined in Amazonka.ElasticBeanstalk.Types.MaxAgeRule

Show MaxAgeRule Source # 
Instance details

Defined in Amazonka.ElasticBeanstalk.Types.MaxAgeRule

Generic MaxAgeRule Source # 
Instance details

Defined in Amazonka.ElasticBeanstalk.Types.MaxAgeRule

Associated Types

type Rep MaxAgeRule :: Type -> Type #

NFData MaxAgeRule Source # 
Instance details

Defined in Amazonka.ElasticBeanstalk.Types.MaxAgeRule

Methods

rnf :: MaxAgeRule -> () #

Hashable MaxAgeRule Source # 
Instance details

Defined in Amazonka.ElasticBeanstalk.Types.MaxAgeRule

ToQuery MaxAgeRule Source # 
Instance details

Defined in Amazonka.ElasticBeanstalk.Types.MaxAgeRule

FromXML MaxAgeRule Source # 
Instance details

Defined in Amazonka.ElasticBeanstalk.Types.MaxAgeRule

type Rep MaxAgeRule Source # 
Instance details

Defined in Amazonka.ElasticBeanstalk.Types.MaxAgeRule

type Rep MaxAgeRule = D1 ('MetaData "MaxAgeRule" "Amazonka.ElasticBeanstalk.Types.MaxAgeRule" "libZSservicesZSamazonka-elasticbeanstalkZSamazonka-elasticbeanstalk" 'False) (C1 ('MetaCons "MaxAgeRule'" 'PrefixI 'True) (S1 ('MetaSel ('Just "deleteSourceFromS3") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: (S1 ('MetaSel ('Just "maxAgeInDays") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: S1 ('MetaSel ('Just "enabled") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Bool))))

newMaxAgeRule Source #

Create a value of MaxAgeRule 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:deleteSourceFromS3:MaxAgeRule', maxAgeRule_deleteSourceFromS3 - Set to true to delete a version's source bundle from Amazon S3 when Elastic Beanstalk deletes the application version.

$sel:maxAgeInDays:MaxAgeRule', maxAgeRule_maxAgeInDays - Specify the number of days to retain an application versions.

$sel:enabled:MaxAgeRule', maxAgeRule_enabled - Specify true to apply the rule, or false to disable it.

maxAgeRule_deleteSourceFromS3 :: Lens' MaxAgeRule (Maybe Bool) Source #

Set to true to delete a version's source bundle from Amazon S3 when Elastic Beanstalk deletes the application version.

maxAgeRule_maxAgeInDays :: Lens' MaxAgeRule (Maybe Int) Source #

Specify the number of days to retain an application versions.

maxAgeRule_enabled :: Lens' MaxAgeRule Bool Source #

Specify true to apply the rule, or false to disable it.