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]
impl Default for SetLoadBasedAutoScalingRequest
fn default() -> SetLoadBasedAutoScalingRequest
[src]
fn default() -> SetLoadBasedAutoScalingRequest
Returns the "default value" for a type. Read more
impl Debug for SetLoadBasedAutoScalingRequest
[src]
impl Debug for SetLoadBasedAutoScalingRequest
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Clone for SetLoadBasedAutoScalingRequest
[src]
impl Clone for SetLoadBasedAutoScalingRequest
fn clone(&self) -> SetLoadBasedAutoScalingRequest
[src]
fn clone(&self) -> SetLoadBasedAutoScalingRequest
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
impl PartialEq for SetLoadBasedAutoScalingRequest
[src]
impl PartialEq for SetLoadBasedAutoScalingRequest
fn eq(&self, other: &SetLoadBasedAutoScalingRequest) -> bool
[src]
fn eq(&self, other: &SetLoadBasedAutoScalingRequest) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &SetLoadBasedAutoScalingRequest) -> bool
[src]
fn ne(&self, other: &SetLoadBasedAutoScalingRequest) -> bool
This method tests for !=
.
Auto Trait Implementations
impl Send for SetLoadBasedAutoScalingRequest
impl Send for SetLoadBasedAutoScalingRequest
impl Sync for SetLoadBasedAutoScalingRequest
impl Sync for SetLoadBasedAutoScalingRequest