Interface CfnCluster.IComputeLimitsProperty
The Amazon EC2 unit limits for a managed scaling policy.
Namespace: Amazon.CDK.AWS.EMR
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface IComputeLimitsProperty
Syntax (vb)
Public Interface IComputeLimitsProperty
Remarks
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.
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.EMR;
var computeLimitsProperty = new ComputeLimitsProperty {
MaximumCapacityUnits = 123,
MinimumCapacityUnits = 123,
UnitType = "unitType",
// the properties below are optional
MaximumCoreCapacityUnits = 123,
MaximumOnDemandCapacityUnits = 123
};
Synopsis
Properties
Maximum |
The upper boundary of Amazon EC2 units. |
Maximum |
The upper boundary of Amazon EC2 units for core node type in a cluster. |
Maximum |
The upper boundary of On-Demand Amazon EC2 units. |
Minimum |
The lower boundary of Amazon EC2 units. |
Unit |
The unit type used for specifying a managed scaling policy. |
Properties
MaximumCapacityUnits
The upper boundary of Amazon EC2 units.
double MaximumCapacityUnits { get; }
Property Value
System.
Remarks
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.
MaximumCoreCapacityUnits
The upper boundary of Amazon EC2 units for core node type in a cluster.
virtual Nullable<double> MaximumCoreCapacityUnits { get; }
Property Value
System.
Remarks
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.
MaximumOnDemandCapacityUnits
The upper boundary of On-Demand Amazon EC2 units.
virtual Nullable<double> MaximumOnDemandCapacityUnits { get; }
Property Value
System.
Remarks
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.
MinimumCapacityUnits
The lower boundary of Amazon EC2 units.
double MinimumCapacityUnits { get; }
Property Value
System.
Remarks
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.
UnitType
The unit type used for specifying a managed scaling policy.
string UnitType { get; }
Property Value
System.