#[non_exhaustive]pub struct ApplicationResourceLifecycleConfig { /* private fields */ }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.
Implementations§
source§impl ApplicationResourceLifecycleConfig
impl ApplicationResourceLifecycleConfig
sourcepub fn service_role(&self) -> Option<&str>
pub fn service_role(&self) -> Option<&str>
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.
sourcepub fn version_lifecycle_config(
&self
) -> Option<&ApplicationVersionLifecycleConfig>
pub fn version_lifecycle_config( &self ) -> Option<&ApplicationVersionLifecycleConfig>
Defines lifecycle settings for application versions.
source§impl ApplicationResourceLifecycleConfig
impl ApplicationResourceLifecycleConfig
sourcepub fn builder() -> ApplicationResourceLifecycleConfigBuilder
pub fn builder() -> ApplicationResourceLifecycleConfigBuilder
Creates a new builder-style object to manufacture ApplicationResourceLifecycleConfig.
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 PartialEq<ApplicationResourceLifecycleConfig> for ApplicationResourceLifecycleConfig
impl PartialEq<ApplicationResourceLifecycleConfig> 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 ==.