[][src]Struct rusoto_ecs::AutoScalingGroupProvider

pub struct AutoScalingGroupProvider {
    pub auto_scaling_group_arn: String,
    pub managed_scaling: Option<ManagedScaling>,
    pub managed_termination_protection: Option<String>,
}

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]

impl Debug for AutoScalingGroupProvider[src]

impl Default for AutoScalingGroupProvider[src]

impl<'de> Deserialize<'de> for AutoScalingGroupProvider[src]

impl PartialEq<AutoScalingGroupProvider> for AutoScalingGroupProvider[src]

impl Serialize for AutoScalingGroupProvider[src]

impl StructuralPartialEq for AutoScalingGroupProvider[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.