Class CfnCluster.ComputeLimitsProperty
The Amazon EC2 unit limits for a managed scaling policy.
Inheritance
Implements
Namespace: Amazon.CDK.AWS.EMR
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class ComputeLimitsProperty : Object, CfnCluster.IComputeLimitsProperty
Syntax (vb)
Public Class ComputeLimitsProperty
Inherits Object
Implements CfnCluster.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
Constructors
ComputeLimitsProperty() |
Properties
MaximumCapacityUnits | The upper boundary of Amazon EC2 units. |
MaximumCoreCapacityUnits | The upper boundary of Amazon EC2 units for core node type in a cluster. |
MaximumOnDemandCapacityUnits | The upper boundary of On-Demand Amazon EC2 units. |
MinimumCapacityUnits | The lower boundary of Amazon EC2 units. |
UnitType | The unit type used for specifying a managed scaling policy. |
Constructors
ComputeLimitsProperty()
public ComputeLimitsProperty()
Properties
MaximumCapacityUnits
The upper boundary of Amazon EC2 units.
public double MaximumCapacityUnits { get; set; }
Property Value
System.Double
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.
public Nullable<double> MaximumCoreCapacityUnits { get; set; }
Property Value
System.Nullable<System.Double>
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.
public Nullable<double> MaximumOnDemandCapacityUnits { get; set; }
Property Value
System.Nullable<System.Double>
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.
public double MinimumCapacityUnits { get; set; }
Property Value
System.Double
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.
public string UnitType { get; set; }
Property Value
System.String