[−][src]Struct rusoto_ecs::AutoScalingGroupProvider
The details of the Auto Scaling group for the capacity provider.
Fields
auto_scaling_group_arn: String
The Amazon Resource Name (ARN) that identifies the Auto Scaling group.
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
impl Clone for AutoScalingGroupProvider
[src]
pub fn clone(&self) -> AutoScalingGroupProvider
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for AutoScalingGroupProvider
[src]
impl Default for AutoScalingGroupProvider
[src]
pub fn default() -> AutoScalingGroupProvider
[src]
impl<'de> Deserialize<'de> for AutoScalingGroupProvider
[src]
pub fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl PartialEq<AutoScalingGroupProvider> for AutoScalingGroupProvider
[src]
pub fn eq(&self, other: &AutoScalingGroupProvider) -> bool
[src]
pub fn ne(&self, other: &AutoScalingGroupProvider) -> bool
[src]
impl Serialize for AutoScalingGroupProvider
[src]
pub fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
__S: Serializer,
[src]
__S: Serializer,
impl StructuralPartialEq for AutoScalingGroupProvider
[src]
Auto Trait Implementations
impl RefUnwindSafe for AutoScalingGroupProvider
[src]
impl Send for AutoScalingGroupProvider
[src]
impl Sync for AutoScalingGroupProvider
[src]
impl Unpin for AutoScalingGroupProvider
[src]
impl UnwindSafe for AutoScalingGroupProvider
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
impl<T> From<T> for T
[src]
impl<T> Instrument for T
[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T> Instrument for T
[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,