pub struct NodegroupScalingConfig {
pub desired_size: Option<i64>,
pub max_size: Option<i64>,
pub min_size: Option<i64>,
}Expand description
An object representing the scaling configuration details for the Auto Scaling group that is associated with your node group. When creating a node group, you must specify all or none of the properties. When updating a node group, you can specify any or none of the properties.
Fields§
§desired_size: Option<i64>The current number of nodes that the managed node group should maintain.
max_size: Option<i64>The maximum number of nodes that the managed node group can scale out to. For information about the maximum number that you can specify, see Amazon EKS service quotas in the Amazon EKS User Guide.
min_size: Option<i64>The minimum number of nodes that the managed node group can scale in to. This number must be greater than zero.
Trait Implementations§
Source§impl Clone for NodegroupScalingConfig
impl Clone for NodegroupScalingConfig
Source§fn clone(&self) -> NodegroupScalingConfig
fn clone(&self) -> NodegroupScalingConfig
Returns a duplicate 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 Debug for NodegroupScalingConfig
impl Debug for NodegroupScalingConfig
Source§impl Default for NodegroupScalingConfig
impl Default for NodegroupScalingConfig
Source§fn default() -> NodegroupScalingConfig
fn default() -> NodegroupScalingConfig
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for NodegroupScalingConfig
impl<'de> Deserialize<'de> for NodegroupScalingConfig
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 NodegroupScalingConfig
impl PartialEq for NodegroupScalingConfig
Source§impl Serialize for NodegroupScalingConfig
impl Serialize for NodegroupScalingConfig
impl StructuralPartialEq for NodegroupScalingConfig
Auto Trait Implementations§
impl Freeze for NodegroupScalingConfig
impl RefUnwindSafe for NodegroupScalingConfig
impl Send for NodegroupScalingConfig
impl Sync for NodegroupScalingConfig
impl Unpin for NodegroupScalingConfig
impl UnwindSafe for NodegroupScalingConfig
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