interface ManagedScalingComputeLimitsProperty
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.StepFunctions.Tasks.EmrCreateCluster.ManagedScalingComputeLimitsProperty |
![]() | github.com/aws/aws-cdk-go/awscdk/v2/awsstepfunctionstasks#EmrCreateCluster_ManagedScalingComputeLimitsProperty |
![]() | software.amazon.awscdk.services.stepfunctions.tasks.EmrCreateCluster.ManagedScalingComputeLimitsProperty |
![]() | aws_cdk.aws_stepfunctions_tasks.EmrCreateCluster.ManagedScalingComputeLimitsProperty |
![]() | aws-cdk-lib » aws_stepfunctions_tasks » EmrCreateCluster » ManagedScalingComputeLimitsProperty |
The EC2 unit limits for a managed scaling policy.
See also: https://docs.aws.amazon.com/emr/latest/APIReference/API_ComputeLimits.html
Example
new tasks.EmrCreateCluster(this, 'CreateCluster', {
instances: {
instanceFleets: [
{
instanceFleetType: tasks.EmrCreateCluster.InstanceRoleType.CORE,
instanceTypeConfigs: [
{
instanceType: 'm5.xlarge',
},
],
targetOnDemandCapacity: 1,
},
{
instanceFleetType: tasks.EmrCreateCluster.InstanceRoleType.MASTER,
instanceTypeConfigs: [
{
instanceType: 'm5.xlarge',
},
],
targetOnDemandCapacity: 1,
},
],
},
name: 'ClusterName',
releaseLabel: 'emr-7.9.0',
managedScalingPolicy: {
computeLimits: {
unitType: tasks.EmrCreateCluster.ComputeLimitsUnitType.INSTANCE_FLEET_UNITS,
maximumCapacityUnits: 4,
minimumCapacityUnits: 1,
maximumOnDemandCapacityUnits: 4,
maximumCoreCapacityUnits: 2,
},
},
});
Properties
Name | Type | Description |
---|---|---|
maximum | number | The upper boundary of Amazon EC2 units. |
minimum | number | The lower boundary of Amazon EC2 units. |
unit | Compute | The unit type used for specifying a managed scaling policy. |
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. |
maximumCapacityUnits
Type:
number
The upper boundary of Amazon EC2 units.
minimumCapacityUnits
Type:
number
The lower boundary of Amazon EC2 units.
unitType
Type:
Compute
The unit type used for specifying a managed scaling policy.
maximumCoreCapacityUnits?
Type:
number
(optional, default: None)
The upper boundary of Amazon EC2 units for core node type in a cluster.
maximumOnDemandCapacityUnits?
Type:
number
(optional, default: None)
The upper boundary of On-Demand Amazon EC2 units.