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.ApplicationVersionLifecycleConfig

Description

 
Synopsis

Documentation

data ApplicationVersionLifecycleConfig Source #

The application version lifecycle settings for an application. Defines the rules that Elastic Beanstalk applies to an application's versions in order to avoid hitting the per-region limit for application versions.

When Elastic Beanstalk deletes an application version from its database, you can no longer deploy that version to an environment. The source bundle remains in S3 unless you configure the rule to delete it.

See: newApplicationVersionLifecycleConfig smart constructor.

Constructors

ApplicationVersionLifecycleConfig' 

Fields

  • maxAgeRule :: Maybe MaxAgeRule

    Specify a max age rule to restrict the length of time that application versions are retained for an application.

  • maxCountRule :: Maybe MaxCountRule

    Specify a max count rule to restrict the number of application versions that are retained for an application.

Instances

Instances details
Eq ApplicationVersionLifecycleConfig Source # 
Instance details

Defined in Amazonka.ElasticBeanstalk.Types.ApplicationVersionLifecycleConfig

Read ApplicationVersionLifecycleConfig Source # 
Instance details

Defined in Amazonka.ElasticBeanstalk.Types.ApplicationVersionLifecycleConfig

Show ApplicationVersionLifecycleConfig Source # 
Instance details

Defined in Amazonka.ElasticBeanstalk.Types.ApplicationVersionLifecycleConfig

Generic ApplicationVersionLifecycleConfig Source # 
Instance details

Defined in Amazonka.ElasticBeanstalk.Types.ApplicationVersionLifecycleConfig

Associated Types

type Rep ApplicationVersionLifecycleConfig :: Type -> Type #

NFData ApplicationVersionLifecycleConfig Source # 
Instance details

Defined in Amazonka.ElasticBeanstalk.Types.ApplicationVersionLifecycleConfig

Hashable ApplicationVersionLifecycleConfig Source # 
Instance details

Defined in Amazonka.ElasticBeanstalk.Types.ApplicationVersionLifecycleConfig

ToQuery ApplicationVersionLifecycleConfig Source # 
Instance details

Defined in Amazonka.ElasticBeanstalk.Types.ApplicationVersionLifecycleConfig

FromXML ApplicationVersionLifecycleConfig Source # 
Instance details

Defined in Amazonka.ElasticBeanstalk.Types.ApplicationVersionLifecycleConfig

type Rep ApplicationVersionLifecycleConfig Source # 
Instance details

Defined in Amazonka.ElasticBeanstalk.Types.ApplicationVersionLifecycleConfig

type Rep ApplicationVersionLifecycleConfig = D1 ('MetaData "ApplicationVersionLifecycleConfig" "Amazonka.ElasticBeanstalk.Types.ApplicationVersionLifecycleConfig" "libZSservicesZSamazonka-elasticbeanstalkZSamazonka-elasticbeanstalk" 'False) (C1 ('MetaCons "ApplicationVersionLifecycleConfig'" 'PrefixI 'True) (S1 ('MetaSel ('Just "maxAgeRule") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe MaxAgeRule)) :*: S1 ('MetaSel ('Just "maxCountRule") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe MaxCountRule))))

newApplicationVersionLifecycleConfig :: ApplicationVersionLifecycleConfig Source #

Create a value of ApplicationVersionLifecycleConfig 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:maxAgeRule:ApplicationVersionLifecycleConfig', applicationVersionLifecycleConfig_maxAgeRule - Specify a max age rule to restrict the length of time that application versions are retained for an application.

$sel:maxCountRule:ApplicationVersionLifecycleConfig', applicationVersionLifecycleConfig_maxCountRule - Specify a max count rule to restrict the number of application versions that are retained for an application.

applicationVersionLifecycleConfig_maxAgeRule :: Lens' ApplicationVersionLifecycleConfig (Maybe MaxAgeRule) Source #

Specify a max age rule to restrict the length of time that application versions are retained for an application.

applicationVersionLifecycleConfig_maxCountRule :: Lens' ApplicationVersionLifecycleConfig (Maybe MaxCountRule) Source #

Specify a max count rule to restrict the number of application versions that are retained for an application.