interface ComputeLimitsProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.EMR.Mixins.CfnClusterPropsMixin.ComputeLimitsProperty |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awsemr/mixins#CfnClusterPropsMixin_ComputeLimitsProperty |
Java | software.amazon.awscdk.mixins.preview.services.emr.mixins.CfnClusterPropsMixin.ComputeLimitsProperty |
Python | aws_cdk.mixins_preview.aws_emr.mixins.CfnClusterPropsMixin.ComputeLimitsProperty |
TypeScript | @aws-cdk/mixins-preview » aws_emr » mixins » CfnClusterPropsMixin » 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 { mixins as emr_mixins } from '@aws-cdk/mixins-preview/aws-emr';
const computeLimitsProperty: emr_mixins.CfnClusterPropsMixin.ComputeLimitsProperty = {
maximumCapacityUnits: 123,
maximumCoreCapacityUnits: 123,
maximumOnDemandCapacityUnits: 123,
minimumCapacityUnits: 123,
unitType: 'unitType',
};
Properties
| Name | Type | Description |
|---|---|---|
| maximum | number | The upper boundary of Amazon EC2 units. |
| maximum | number | The upper boundary of Amazon EC2 units for core node type in a cluster. |
| maximum | number | The upper boundary of On-Demand Amazon EC2 units. |
| minimum | number | The lower boundary of Amazon EC2 units. |
| unit | string | The unit type used for specifying a managed scaling policy. |
maximumCapacityUnits?
Type:
number
(optional)
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.
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.
minimumCapacityUnits?
Type:
number
(optional)
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
(optional)
The unit type used for specifying a managed scaling policy.

.NET
Go
Java
Python
TypeScript