#[non_exhaustive]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 (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.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.
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 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 ==
.impl StructuralPartialEq for ApplicationResourceLifecycleConfig
Auto Trait Implementations§
impl Freeze for ApplicationResourceLifecycleConfig
impl RefUnwindSafe for ApplicationResourceLifecycleConfig
impl Send for ApplicationResourceLifecycleConfig
impl Sync for ApplicationResourceLifecycleConfig
impl Unpin for ApplicationResourceLifecycleConfig
impl UnwindSafe for ApplicationResourceLifecycleConfig
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more