enum ComputeLimitsUnitType
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.StepFunctions.Tasks.EmrCreateCluster.ComputeLimitsUnitType |
![]() | github.com/aws/aws-cdk-go/awscdk/v2/awsstepfunctionstasks#EmrCreateCluster_ComputeLimitsUnitType |
![]() | software.amazon.awscdk.services.stepfunctions.tasks.EmrCreateCluster.ComputeLimitsUnitType |
![]() | aws_cdk.aws_stepfunctions_tasks.EmrCreateCluster.ComputeLimitsUnitType |
![]() | aws-cdk-lib » aws_stepfunctions_tasks » EmrCreateCluster » ComputeLimitsUnitType |
The unit type for managed scaling policy compute limits.
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,
},
},
});
Members
Name | Description |
---|---|
INSTANCE_FLEET_UNITS | InstanceFleetUnits. |
INSTANCES | Instances. |
VCPU | VCPU. |
INSTANCE_FLEET_UNITS
InstanceFleetUnits.
INSTANCES
Instances.
VCPU
VCPU.