Struct aws_sdk_emr::types::ComputeLimits
source · #[non_exhaustive]pub struct ComputeLimits {
pub unit_type: Option<ComputeLimitsUnitType>,
pub minimum_capacity_units: Option<i32>,
pub maximum_capacity_units: Option<i32>,
pub maximum_on_demand_capacity_units: Option<i32>,
pub maximum_core_capacity_units: Option<i32>,
}
Expand description
The Amazon 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.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.unit_type: Option<ComputeLimitsUnitType>
The unit type used for specifying a managed scaling policy.
minimum_capacity_units: Option<i32>
The lower boundary of Amazon 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.
maximum_capacity_units: Option<i32>
The upper boundary of Amazon 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.
maximum_on_demand_capacity_units: Option<i32>
The upper boundary of On-Demand Amazon 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.
maximum_core_capacity_units: Option<i32>
The upper boundary of Amazon 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.
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 Amazon 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 Amazon 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 Amazon 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 Amazon 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() -> ComputeLimitsBuilder
pub fn builder() -> ComputeLimitsBuilder
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 moresource§impl Debug for ComputeLimits
impl Debug for ComputeLimits
source§impl PartialEq for ComputeLimits
impl PartialEq for ComputeLimits
source§fn eq(&self, other: &ComputeLimits) -> bool
fn eq(&self, other: &ComputeLimits) -> bool
self
and other
values to be equal, and is used
by ==
.