amazonka-elasticbeanstalk-2.0: Amazon Elastic Beanstalk SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

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

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

  • versionLifecycleConfig :: Maybe ApplicationVersionLifecycleConfig

    Defines lifecycle settings for application versions.

Instances

Instances details
ToQuery ApplicationResourceLifecycleConfig Source # 
Instance details

Defined in Amazonka.ElasticBeanstalk.Types.ApplicationResourceLifecycleConfig

FromXML 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 #

Read ApplicationResourceLifecycleConfig Source # 
Instance details

Defined in Amazonka.ElasticBeanstalk.Types.ApplicationResourceLifecycleConfig

Show ApplicationResourceLifecycleConfig Source # 
Instance details

Defined in Amazonka.ElasticBeanstalk.Types.ApplicationResourceLifecycleConfig

NFData ApplicationResourceLifecycleConfig Source # 
Instance details

Defined in Amazonka.ElasticBeanstalk.Types.ApplicationResourceLifecycleConfig

Eq ApplicationResourceLifecycleConfig Source # 
Instance details

Defined in Amazonka.ElasticBeanstalk.Types.ApplicationResourceLifecycleConfig

Hashable 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" "amazonka-elasticbeanstalk-2.0-HLGGuY0kjXTIKSbM7JuMHy" 'False) (C1 ('MetaCons "ApplicationResourceLifecycleConfig'" 'PrefixI 'True) (S1 ('MetaSel ('Just "serviceRole") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "versionLifecycleConfig") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ApplicationVersionLifecycleConfig))))

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

$sel:versionLifecycleConfig:ApplicationResourceLifecycleConfig', applicationResourceLifecycleConfig_versionLifecycleConfig - Defines lifecycle settings for application versions.

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.