aws-cdk-lib.aws_emr.CfnCluster.ComputeLimitsProperty

interface ComputeLimitsProperty

LanguageType name
.NETAmazon.CDK.AWS.EMR.CfnCluster.ComputeLimitsProperty
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awsemr#CfnCluster_ComputeLimitsProperty
Javasoftware.amazon.awscdk.services.emr.CfnCluster.ComputeLimitsProperty
Pythonaws_cdk.aws_emr.CfnCluster.ComputeLimitsProperty
TypeScript aws-cdk-lib » aws_emr » CfnCluster » ComputeLimitsProperty

The Amazon EC2 unit limits for a managed scaling policy.

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 { aws_emr as emr } from 'aws-cdk-lib';
const computeLimitsProperty: emr.CfnCluster.ComputeLimitsProperty = {
  maximumCapacityUnits: 123,
  minimumCapacityUnits: 123,
  unitType: 'unitType',

  // the properties below are optional
  maximumCoreCapacityUnits: 123,
  maximumOnDemandCapacityUnits: 123,
};

Properties

NameTypeDescription
maximumCapacityUnitsnumberThe upper boundary of Amazon EC2 units.
minimumCapacityUnitsnumberThe lower boundary of Amazon EC2 units.
unitTypestringThe unit type used for specifying a managed scaling policy.
maximumCoreCapacityUnits?numberThe upper boundary of Amazon EC2 units for core node type in a cluster.
maximumOnDemandCapacityUnits?numberThe upper boundary of On-Demand Amazon EC2 units.

maximumCapacityUnits

Type: number

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.


minimumCapacityUnits

Type: number

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.


unitType

Type: string

The unit type used for specifying a managed scaling policy.


maximumCoreCapacityUnits?

Type: number (optional)

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.


maximumOnDemandCapacityUnits?

Type: number (optional)

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.