pub struct AutoScalingGroupConfiguration {
pub desired_capacity: Option<i64>,
pub instance_type: Option<String>,
pub max_size: Option<i64>,
pub min_size: Option<i64>,
}
Expand description
Describes the configuration of an Auto Scaling group.
Fields§
§desired_capacity: Option<i64>
The desired capacity, or number of instances, for the Auto Scaling group.
instance_type: Option<String>
The instance type for the Auto Scaling group.
max_size: Option<i64>
The maximum size, or maximum number of instances, for the Auto Scaling group.
min_size: Option<i64>
The minimum size, or minimum number of instances, for the Auto Scaling group.
Trait Implementations§
Source§impl Clone for AutoScalingGroupConfiguration
impl Clone for AutoScalingGroupConfiguration
Source§fn clone(&self) -> AutoScalingGroupConfiguration
fn clone(&self) -> AutoScalingGroupConfiguration
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Default for AutoScalingGroupConfiguration
impl Default for AutoScalingGroupConfiguration
Source§fn default() -> AutoScalingGroupConfiguration
fn default() -> AutoScalingGroupConfiguration
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for AutoScalingGroupConfiguration
impl<'de> Deserialize<'de> for AutoScalingGroupConfiguration
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for AutoScalingGroupConfiguration
impl PartialEq for AutoScalingGroupConfiguration
Source§fn eq(&self, other: &AutoScalingGroupConfiguration) -> bool
fn eq(&self, other: &AutoScalingGroupConfiguration) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for AutoScalingGroupConfiguration
Auto Trait Implementations§
impl Freeze for AutoScalingGroupConfiguration
impl RefUnwindSafe for AutoScalingGroupConfiguration
impl Send for AutoScalingGroupConfiguration
impl Sync for AutoScalingGroupConfiguration
impl Unpin for AutoScalingGroupConfiguration
impl UnwindSafe for AutoScalingGroupConfiguration
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more