Struct aws_sdk_emr::model::ComputeLimits
source · #[non_exhaustive]pub struct ComputeLimits { /* private fields */ }Expand description
The EC2 unit limits for a managed scaling policy. The managed scaling activity of a cluster can not be above or below these limits. The limit only applies to the core and task nodes. The master node cannot be scaled after initial configuration.
Implementations§
source§impl ComputeLimits
impl ComputeLimits
sourcepub fn unit_type(&self) -> Option<&ComputeLimitsUnitType>
pub fn unit_type(&self) -> Option<&ComputeLimitsUnitType>
The unit type used for specifying a managed scaling policy.
sourcepub fn minimum_capacity_units(&self) -> Option<i32>
pub fn minimum_capacity_units(&self) -> Option<i32>
The lower boundary of EC2 units. It is measured through vCPU cores or instances for instance groups and measured through units for instance fleets. Managed scaling activities are not allowed beyond this boundary. The limit only applies to the core and task nodes. The master node cannot be scaled after initial configuration.
sourcepub fn maximum_capacity_units(&self) -> Option<i32>
pub fn maximum_capacity_units(&self) -> Option<i32>
The upper boundary of EC2 units. It is measured through vCPU cores or instances for instance groups and measured through units for instance fleets. Managed scaling activities are not allowed beyond this boundary. The limit only applies to the core and task nodes. The master node cannot be scaled after initial configuration.
sourcepub fn maximum_on_demand_capacity_units(&self) -> Option<i32>
pub fn maximum_on_demand_capacity_units(&self) -> Option<i32>
The upper boundary of On-Demand EC2 units. It is measured through vCPU cores or instances for instance groups and measured through units for instance fleets. The On-Demand units are not allowed to scale beyond this boundary. The parameter is used to split capacity allocation between On-Demand and Spot Instances.
sourcepub fn maximum_core_capacity_units(&self) -> Option<i32>
pub fn maximum_core_capacity_units(&self) -> Option<i32>
The upper boundary of EC2 units for core node type in a cluster. It is measured through vCPU cores or instances for instance groups and measured through units for instance fleets. The core units are not allowed to scale beyond this boundary. The parameter is used to split capacity allocation between core and task nodes.
source§impl ComputeLimits
impl ComputeLimits
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture ComputeLimits.
Trait Implementations§
source§impl Clone for ComputeLimits
impl Clone for ComputeLimits
source§fn clone(&self) -> ComputeLimits
fn clone(&self) -> ComputeLimits
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more