[][src]Struct rusoto_ecs::ManagedScaling

pub struct ManagedScaling {
    pub maximum_scaling_step_size: Option<i64>,
    pub minimum_scaling_step_size: Option<i64>,
    pub status: Option<String>,
    pub target_capacity: Option<i64>,
}

The managed scaling settings for the Auto Scaling group capacity provider.

When managed scaling is enabled, Amazon ECS manages the scale-in and scale-out actions of the Auto Scaling group. Amazon ECS manages a target tracking scaling policy using an Amazon ECS-managed CloudWatch metric with the specified targetCapacity value as the target value for the metric. For more information, see Using Managed Scaling in the Amazon Elastic Container Service Developer Guide.

If managed scaling is disabled, the user must manage the scaling of the Auto Scaling group.

Fields

maximum_scaling_step_size: Option<i64>

The maximum number of container instances that Amazon ECS will scale in or scale out at one time. If this parameter is omitted, the default value of 10000 is used.

minimum_scaling_step_size: Option<i64>

The minimum number of container instances that Amazon ECS will scale in or scale out at one time. If this parameter is omitted, the default value of 1 is used.

status: Option<String>

Whether or not to enable managed scaling for the capacity provider.

target_capacity: Option<i64>

The target capacity value for the capacity provider. The specified value must be greater than 0 and less than or equal to 100. A value of 100 will result in the Amazon EC2 instances in your Auto Scaling group being completely utilized.

Trait Implementations

impl Clone for ManagedScaling[src]

impl Debug for ManagedScaling[src]

impl Default for ManagedScaling[src]

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

impl PartialEq<ManagedScaling> for ManagedScaling[src]

impl Serialize for ManagedScaling[src]

impl StructuralPartialEq for ManagedScaling[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: for<'de> Deserialize<'de>, 
[src]

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

impl<T> Instrument for T[src]

impl<T> Instrument 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.