interface ManagedScalingPolicyProperty
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.StepFunctions.Tasks.EmrCreateCluster.ManagedScalingPolicyProperty |
![]() | github.com/aws/aws-cdk-go/awscdk/v2/awsstepfunctionstasks#EmrCreateCluster_ManagedScalingPolicyProperty |
![]() | software.amazon.awscdk.services.stepfunctions.tasks.EmrCreateCluster.ManagedScalingPolicyProperty |
![]() | aws_cdk.aws_stepfunctions_tasks.EmrCreateCluster.ManagedScalingPolicyProperty |
![]() | aws-cdk-lib » aws_stepfunctions_tasks » EmrCreateCluster » ManagedScalingPolicyProperty |
The managed scaling policy for an Amazon EMR cluster.
See also: https://docs.aws.amazon.com/emr/latest/APIReference/API_ManagedScalingPolicy.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 |
---|---|---|
compute | Managed | The Amazon EC2 unit limits for a managed scaling policy. |
computeLimits?
Type:
Managed
(optional, default: None)
The Amazon EC2 unit limits for a managed scaling policy.