Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Synopsis
- data ApplicationResourceLifecycleConfig = ApplicationResourceLifecycleConfig' {}
- newApplicationResourceLifecycleConfig :: ApplicationResourceLifecycleConfig
- applicationResourceLifecycleConfig_versionLifecycleConfig :: Lens' ApplicationResourceLifecycleConfig (Maybe ApplicationVersionLifecycleConfig)
- applicationResourceLifecycleConfig_serviceRole :: Lens' ApplicationResourceLifecycleConfig (Maybe Text)
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.
ApplicationResourceLifecycleConfig' | |
|
Instances
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_versionLifecycleConfig :: Lens' ApplicationResourceLifecycleConfig (Maybe ApplicationVersionLifecycleConfig) Source #
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.