Class CfnClusterPropsMixin.ManagedScalingPolicyProperty
Managed scaling policy for an Amazon EMR cluster.
Inherited Members
Namespace: Amazon.CDK.CfnPropertyMixins.AWS.EMR
Assembly: Amazon.CDK.CfnPropertyMixins.dll
Syntax (csharp)
public class CfnClusterPropsMixin.ManagedScalingPolicyProperty : CfnClusterPropsMixin.IManagedScalingPolicyProperty
Syntax (vb)
Public Class CfnClusterPropsMixin.ManagedScalingPolicyProperty Implements CfnClusterPropsMixin.IManagedScalingPolicyProperty
Remarks
The policy specifies the limits for resources that can be added or terminated from a cluster. The policy only applies to the core and task nodes. The master node cannot be scaled after initial configuration.
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.CfnPropertyMixins.AWS.EMR;
var managedScalingPolicyProperty = new ManagedScalingPolicyProperty {
ComputeLimits = new ComputeLimitsProperty {
MaximumCapacityUnits = 123,
MaximumCoreCapacityUnits = 123,
MaximumOnDemandCapacityUnits = 123,
MinimumCapacityUnits = 123,
UnitType = "unitType"
},
ScalingStrategy = "scalingStrategy",
UtilizationPerformanceIndex = 123
};
Synopsis
Constructors
| ManagedScalingPolicyProperty() | Managed scaling policy for an Amazon EMR cluster. |
Properties
| ComputeLimits | The Amazon EC2 unit limits for a managed scaling policy. |
| ScalingStrategy | Determines whether a custom scaling utilization performance index can be set. |
| UtilizationPerformanceIndex | An integer value that represents an advanced scaling strategy. |
Constructors
ManagedScalingPolicyProperty()
Managed scaling policy for an Amazon EMR cluster.
public ManagedScalingPolicyProperty()
Remarks
The policy specifies the limits for resources that can be added or terminated from a cluster. The policy only applies to the core and task nodes. The master node cannot be scaled after initial configuration.
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.CfnPropertyMixins.AWS.EMR;
var managedScalingPolicyProperty = new ManagedScalingPolicyProperty {
ComputeLimits = new ComputeLimitsProperty {
MaximumCapacityUnits = 123,
MaximumCoreCapacityUnits = 123,
MaximumOnDemandCapacityUnits = 123,
MinimumCapacityUnits = 123,
UnitType = "unitType"
},
ScalingStrategy = "scalingStrategy",
UtilizationPerformanceIndex = 123
};
Properties
ComputeLimits
The Amazon EC2 unit limits for a managed scaling policy.
public object? ComputeLimits { get; set; }
Property Value
Remarks
The managed scaling activity of a cluster is not allowed to go above or below these limits. The limit only applies to the core and task nodes. The master node cannot be scaled after initial configuration.
Type union: either IResolvable or CfnClusterPropsMixin.IComputeLimitsProperty
ScalingStrategy
Determines whether a custom scaling utilization performance index can be set.
public string? ScalingStrategy { get; set; }
Property Value
Remarks
Possible values include ADVANCED or DEFAULT .
UtilizationPerformanceIndex
An integer value that represents an advanced scaling strategy.
public double? UtilizationPerformanceIndex { get; set; }
Property Value
Remarks
Setting a higher value optimizes for performance. Setting a lower value optimizes for resource conservation. Setting the value to 50 balances performance and resource conservation. Possible values are 1, 25, 50, 75, and 100.