Class CfnClusterPropsMixin.ComputeLimitsProperty
The Amazon EC2 unit limits for a managed scaling policy.
Implements
Inherited Members
Namespace: Amazon.CDK.Mixins.Preview.AWS.EMR.Mixins
Assembly: Amazon.CDK.Mixins.Preview.dll
Syntax (csharp)
public class CfnClusterPropsMixin.ComputeLimitsProperty : CfnClusterPropsMixin.IComputeLimitsProperty
Syntax (vb)
Public Class CfnClusterPropsMixin.ComputeLimitsProperty Implements CfnClusterPropsMixin.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.Mixins.Preview.AWS.EMR.Mixins;
var computeLimitsProperty = new ComputeLimitsProperty {
MaximumCapacityUnits = 123,
MaximumCoreCapacityUnits = 123,
MaximumOnDemandCapacityUnits = 123,
MinimumCapacityUnits = 123,
UnitType = "unitType"
};
Synopsis
Constructors
| ComputeLimitsProperty() | The Amazon EC2 unit limits for a managed scaling policy. |
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()
The Amazon EC2 unit limits for a managed scaling policy.
public ComputeLimitsProperty()
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.Mixins.Preview.AWS.EMR.Mixins;
var computeLimitsProperty = new ComputeLimitsProperty {
MaximumCapacityUnits = 123,
MaximumCoreCapacityUnits = 123,
MaximumOnDemandCapacityUnits = 123,
MinimumCapacityUnits = 123,
UnitType = "unitType"
};
Properties
MaximumCapacityUnits
The upper boundary of Amazon EC2 units.
public double? MaximumCapacityUnits { get; set; }
Property Value
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 double? MaximumCoreCapacityUnits { get; set; }
Property Value
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 double? MaximumOnDemandCapacityUnits { get; set; }
Property Value
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
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; }