Interface CfnCluster.IManagedScalingPolicyProperty
Managed scaling policy for an Amazon EMR cluster.
Namespace: Amazon.CDK.AWS.EMR
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface IManagedScalingPolicyProperty
Syntax (vb)
Public Interface 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.AWS.EMR;
var managedScalingPolicyProperty = new ManagedScalingPolicyProperty {
ComputeLimits = new ComputeLimitsProperty {
MaximumCapacityUnits = 123,
MinimumCapacityUnits = 123,
UnitType = "unitType",
// the properties below are optional
MaximumCoreCapacityUnits = 123,
MaximumOnDemandCapacityUnits = 123
}
};
Synopsis
Properties
ComputeLimits | The Amazon EC2 unit limits for a managed scaling policy. |
Properties
ComputeLimits
The Amazon EC2 unit limits for a managed scaling policy.
virtual object ComputeLimits { get; }
Property Value
System.Object
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.