pub struct AutoScalingGroupProviderUpdate {
pub managed_scaling: Option<ManagedScaling>,
pub managed_termination_protection: Option<String>,
}
Expand description
The details of the Auto Scaling group capacity provider to update.
Fields
managed_scaling: Option<ManagedScaling>
The managed scaling settings for the Auto Scaling group capacity provider.
managed_termination_protection: Option<String>
The managed termination protection setting to use for the Auto Scaling group capacity provider. This determines whether the Auto Scaling group has managed termination protection.
When using managed termination protection, managed scaling must also be used otherwise managed termination protection will not work.
When managed termination protection is enabled, Amazon ECS prevents the Amazon EC2 instances in an Auto Scaling group that contain tasks from being terminated during a scale-in action. The Auto Scaling group and each instance in the Auto Scaling group must have instance protection from scale-in actions enabled as well. For more information, see Instance Protection in the AWS Auto Scaling User Guide.
When managed termination protection is disabled, your Amazon EC2 instances are not protected from termination when the Auto Scaling group scales in.
Trait Implementations
sourceimpl Clone for AutoScalingGroupProviderUpdate
impl Clone for AutoScalingGroupProviderUpdate
sourcefn clone(&self) -> AutoScalingGroupProviderUpdate
fn clone(&self) -> AutoScalingGroupProviderUpdate
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Default for AutoScalingGroupProviderUpdate
impl Default for AutoScalingGroupProviderUpdate
sourcefn default() -> AutoScalingGroupProviderUpdate
fn default() -> AutoScalingGroupProviderUpdate
Returns the “default value” for a type. Read more
sourceimpl PartialEq<AutoScalingGroupProviderUpdate> for AutoScalingGroupProviderUpdate
impl PartialEq<AutoScalingGroupProviderUpdate> for AutoScalingGroupProviderUpdate
sourcefn eq(&self, other: &AutoScalingGroupProviderUpdate) -> bool
fn eq(&self, other: &AutoScalingGroupProviderUpdate) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &AutoScalingGroupProviderUpdate) -> bool
fn ne(&self, other: &AutoScalingGroupProviderUpdate) -> bool
This method tests for !=
.
impl StructuralPartialEq for AutoScalingGroupProviderUpdate
Auto Trait Implementations
impl RefUnwindSafe for AutoScalingGroupProviderUpdate
impl Send for AutoScalingGroupProviderUpdate
impl Sync for AutoScalingGroupProviderUpdate
impl Unpin for AutoScalingGroupProviderUpdate
impl UnwindSafe for AutoScalingGroupProviderUpdate
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more