public static interface CfnCluster.ComputeLimitsProperty
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.
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import software.amazon.awscdk.services.emr.*; ComputeLimitsProperty computeLimitsProperty = ComputeLimitsProperty.builder() .maximumCapacityUnits(123) .minimumCapacityUnits(123) .unitType("unitType") // the properties below are optional .maximumCoreCapacityUnits(123) .maximumOnDemandCapacityUnits(123) .build();
Modifier and Type | Interface and Description |
---|---|
static class |
CfnCluster.ComputeLimitsProperty.Builder
A builder for
CfnCluster.ComputeLimitsProperty |
static class |
CfnCluster.ComputeLimitsProperty.Jsii$Proxy
An implementation for
CfnCluster.ComputeLimitsProperty |
Modifier and Type | Method and Description |
---|---|
static CfnCluster.ComputeLimitsProperty.Builder |
builder() |
java.lang.Number |
getMaximumCapacityUnits()
The upper boundary of EC2 units.
|
default java.lang.Number |
getMaximumCoreCapacityUnits()
The upper boundary of EC2 units for core node type in a cluster.
|
default java.lang.Number |
getMaximumOnDemandCapacityUnits()
The upper boundary of On-Demand EC2 units.
|
java.lang.Number |
getMinimumCapacityUnits()
The lower boundary of EC2 units.
|
java.lang.String |
getUnitType()
The unit type used for specifying a managed scaling policy.
|
java.lang.Number getMaximumCapacityUnits()
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.
java.lang.Number getMinimumCapacityUnits()
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.
java.lang.String getUnitType()
default java.lang.Number getMaximumCoreCapacityUnits()
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.
default java.lang.Number getMaximumOnDemandCapacityUnits()
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.
static CfnCluster.ComputeLimitsProperty.Builder builder()