Struct aws_sdk_codedeploy::types::AutoScalingGroup
source · #[non_exhaustive]pub struct AutoScalingGroup {
pub name: Option<String>,
pub hook: Option<String>,
pub termination_hook: Option<String>,
}
Expand description
Information about an Auto Scaling group.
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.name: Option<String>
The Auto Scaling group name.
hook: Option<String>
The name of the launch hook that CodeDeploy installed into the Auto Scaling group.
For more information about the launch hook, see How Amazon EC2 Auto Scaling works with CodeDeploy in the CodeDeploy User Guide.
termination_hook: Option<String>
The name of the termination hook that CodeDeploy installed into the Auto Scaling group.
For more information about the termination hook, see Enabling termination deployments during Auto Scaling scale-in events in the CodeDeploy User Guide.
Implementations§
source§impl AutoScalingGroup
impl AutoScalingGroup
sourcepub fn hook(&self) -> Option<&str>
pub fn hook(&self) -> Option<&str>
The name of the launch hook that CodeDeploy installed into the Auto Scaling group.
For more information about the launch hook, see How Amazon EC2 Auto Scaling works with CodeDeploy in the CodeDeploy User Guide.
sourcepub fn termination_hook(&self) -> Option<&str>
pub fn termination_hook(&self) -> Option<&str>
The name of the termination hook that CodeDeploy installed into the Auto Scaling group.
For more information about the termination hook, see Enabling termination deployments during Auto Scaling scale-in events in the CodeDeploy User Guide.
source§impl AutoScalingGroup
impl AutoScalingGroup
sourcepub fn builder() -> AutoScalingGroupBuilder
pub fn builder() -> AutoScalingGroupBuilder
Creates a new builder-style object to manufacture AutoScalingGroup
.
Trait Implementations§
source§impl Clone for AutoScalingGroup
impl Clone for AutoScalingGroup
source§fn clone(&self) -> AutoScalingGroup
fn clone(&self) -> AutoScalingGroup
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for AutoScalingGroup
impl Debug for AutoScalingGroup
source§impl PartialEq for AutoScalingGroup
impl PartialEq for AutoScalingGroup
source§fn eq(&self, other: &AutoScalingGroup) -> bool
fn eq(&self, other: &AutoScalingGroup) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for AutoScalingGroup
Auto Trait Implementations§
impl Freeze for AutoScalingGroup
impl RefUnwindSafe for AutoScalingGroup
impl Send for AutoScalingGroup
impl Sync for AutoScalingGroup
impl Unpin for AutoScalingGroup
impl UnwindSafe for AutoScalingGroup
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)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