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

Description

 
Synopsis

Documentation

data ApplicationResourceLifecycleConfig Source #

The resource lifecycle configuration for an application. Defines lifecycle settings for resources that belong to the application, and the service role that AWS Elastic Beanstalk assumes in order to apply lifecycle settings. The version lifecycle configuration defines lifecycle settings for application versions.

See: newApplicationResourceLifecycleConfig smart constructor.

Constructors

ApplicationResourceLifecycleConfig' 

Fields

  • versionLifecycleConfig :: Maybe ApplicationVersionLifecycleConfig

    Defines lifecycle settings for application versions.

  • serviceRole :: Maybe Text

    The ARN of an IAM service role that Elastic Beanstalk has permission to assume.

    The ServiceRole property is required the first time that you provide a VersionLifecycleConfig for the application in one of the supporting calls (CreateApplication or UpdateApplicationResourceLifecycle). After you provide it once, in either one of the calls, Elastic Beanstalk persists the Service Role with the application, and you don't need to specify it again in subsequent UpdateApplicationResourceLifecycle calls. You can, however, specify it in subsequent calls to change the Service Role to another value.

Instances

Instances details
Eq ApplicationResourceLifecycleConfig Source # 
Instance details

Defined in Amazonka.ElasticBeanstalk.Types.ApplicationResourceLifecycleConfig

Read ApplicationResourceLifecycleConfig Source # 
Instance details

Defined in Amazonka.ElasticBeanstalk.Types.ApplicationResourceLifecycleConfig

Show ApplicationResourceLifecycleConfig Source # 
Instance details

Defined in Amazonka.ElasticBeanstalk.Types.ApplicationResourceLifecycleConfig

Generic ApplicationResourceLifecycleConfig Source # 
Instance details

Defined in Amazonka.ElasticBeanstalk.Types.ApplicationResourceLifecycleConfig

Associated Types

type Rep ApplicationResourceLifecycleConfig :: Type -> Type #

NFData ApplicationResourceLifecycleConfig Source # 
Instance details

Defined in Amazonka.ElasticBeanstalk.Types.ApplicationResourceLifecycleConfig

Hashable ApplicationResourceLifecycleConfig Source # 
Instance details

Defined in Amazonka.ElasticBeanstalk.Types.ApplicationResourceLifecycleConfig

ToQuery ApplicationResourceLifecycleConfig Source # 
Instance details

Defined in Amazonka.ElasticBeanstalk.Types.ApplicationResourceLifecycleConfig

FromXML ApplicationResourceLifecycleConfig Source # 
Instance details

Defined in Amazonka.ElasticBeanstalk.Types.ApplicationResourceLifecycleConfig

type Rep ApplicationResourceLifecycleConfig Source # 
Instance details

Defined in Amazonka.ElasticBeanstalk.Types.ApplicationResourceLifecycleConfig

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

newApplicationResourceLifecycleConfig :: ApplicationResourceLifecycleConfig Source #

Create a value of ApplicationResourceLifecycleConfig 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:versionLifecycleConfig:ApplicationResourceLifecycleConfig', applicationResourceLifecycleConfig_versionLifecycleConfig - Defines lifecycle settings for application versions.

$sel:serviceRole:ApplicationResourceLifecycleConfig', applicationResourceLifecycleConfig_serviceRole - The ARN of an IAM service role that Elastic Beanstalk has permission to assume.

The ServiceRole property is required the first time that you provide a VersionLifecycleConfig for the application in one of the supporting calls (CreateApplication or UpdateApplicationResourceLifecycle). After you provide it once, in either one of the calls, Elastic Beanstalk persists the Service Role with the application, and you don't need to specify it again in subsequent UpdateApplicationResourceLifecycle calls. You can, however, specify it in subsequent calls to change the Service Role to another value.

applicationResourceLifecycleConfig_serviceRole :: Lens' ApplicationResourceLifecycleConfig (Maybe Text) Source #

The ARN of an IAM service role that Elastic Beanstalk has permission to assume.

The ServiceRole property is required the first time that you provide a VersionLifecycleConfig for the application in one of the supporting calls (CreateApplication or UpdateApplicationResourceLifecycle). After you provide it once, in either one of the calls, Elastic Beanstalk persists the Service Role with the application, and you don't need to specify it again in subsequent UpdateApplicationResourceLifecycle calls. You can, however, specify it in subsequent calls to change the Service Role to another value.