#[non_exhaustive]pub struct LoadBasedAutoScalingConfiguration {
pub layer_id: Option<String>,
pub enable: Option<bool>,
pub up_scaling: Option<AutoScalingThresholds>,
pub down_scaling: Option<AutoScalingThresholds>,
}
Expand description
Describes a layer's load-based auto scaling configuration.
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.layer_id: Option<String>
The layer ID.
enable: Option<bool>
Whether load-based auto scaling is enabled for the layer.
up_scaling: Option<AutoScalingThresholds>
An AutoScalingThresholds
object that describes the upscaling configuration, which defines how and when AWS OpsWorks Stacks increases the number of instances.
down_scaling: Option<AutoScalingThresholds>
An AutoScalingThresholds
object that describes the downscaling configuration, which defines how and when AWS OpsWorks Stacks reduces the number of instances.
Implementations
An AutoScalingThresholds
object that describes the upscaling configuration, which defines how and when AWS OpsWorks Stacks increases the number of instances.
An AutoScalingThresholds
object that describes the downscaling configuration, which defines how and when AWS OpsWorks Stacks reduces the number of instances.
Creates a new builder-style object to manufacture LoadBasedAutoScalingConfiguration
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl Send for LoadBasedAutoScalingConfiguration
impl Sync for LoadBasedAutoScalingConfiguration
impl Unpin for LoadBasedAutoScalingConfiguration
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more