pub struct ApplicationResourceLifecycleConfig {
pub service_role: Option<String>,
pub version_lifecycle_config: Option<ApplicationVersionLifecycleConfig>,
}
Expand description
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.
Fields§
§service_role: Option<String>
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.
version_lifecycle_config: Option<ApplicationVersionLifecycleConfig>
Defines lifecycle settings for application versions.
Trait Implementations§
Source§impl Clone for ApplicationResourceLifecycleConfig
impl Clone for ApplicationResourceLifecycleConfig
Source§fn clone(&self) -> ApplicationResourceLifecycleConfig
fn clone(&self) -> ApplicationResourceLifecycleConfig
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Default for ApplicationResourceLifecycleConfig
impl Default for ApplicationResourceLifecycleConfig
Source§fn default() -> ApplicationResourceLifecycleConfig
fn default() -> ApplicationResourceLifecycleConfig
Source§impl PartialEq for ApplicationResourceLifecycleConfig
impl PartialEq for ApplicationResourceLifecycleConfig
Source§fn eq(&self, other: &ApplicationResourceLifecycleConfig) -> bool
fn eq(&self, other: &ApplicationResourceLifecycleConfig) -> bool
self
and other
values to be equal, and is used by ==
.