Interface CfnCluster.ComputeLimitsProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnCluster.ComputeLimitsProperty.Jsii$Proxy
- Enclosing class:
CfnCluster
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();
- See Also:
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forCfnCluster.ComputeLimitsProperty
static final class
An implementation forCfnCluster.ComputeLimitsProperty
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
The upper boundary of Amazon EC2 units.default Number
The upper boundary of Amazon EC2 units for core node type in a cluster.default Number
The upper boundary of On-Demand Amazon EC2 units.The lower boundary of Amazon EC2 units.The unit type used for specifying a managed scaling policy.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getMaximumCapacityUnits
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.
- See Also:
-
getMinimumCapacityUnits
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.
- See Also:
-
getUnitType
The unit type used for specifying a managed scaling policy.- See Also:
-
getMaximumCoreCapacityUnits
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.
- See Also:
-
getMaximumOnDemandCapacityUnits
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.
- See Also:
-
builder
-