Struct rusoto_opsworks::SetLoadBasedAutoScalingRequest
[−]
[src]
pub struct SetLoadBasedAutoScalingRequest { pub down_scaling: Option<AutoScalingThresholds>, pub enable: Option<bool>, pub layer_id: String, pub up_scaling: Option<AutoScalingThresholds>, }
Fields
down_scaling: Option<AutoScalingThresholds>
An AutoScalingThresholds
object with the downscaling threshold configuration. If the load falls below these thresholds for a specified amount of time, AWS OpsWorks Stacks stops a specified number of instances.
enable: Option<bool>
Enables load-based auto scaling for the layer.
layer_id: String
The layer ID.
up_scaling: Option<AutoScalingThresholds>
An AutoScalingThresholds
object with the upscaling threshold configuration. If the load exceeds these thresholds for a specified amount of time, AWS OpsWorks Stacks starts a specified number of instances.
Trait Implementations
impl Default for SetLoadBasedAutoScalingRequest
[src]
fn default() -> SetLoadBasedAutoScalingRequest
[src]
Returns the "default value" for a type. Read more
impl Debug for SetLoadBasedAutoScalingRequest
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl Clone for SetLoadBasedAutoScalingRequest
[src]
fn clone(&self) -> SetLoadBasedAutoScalingRequest
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more