Class CfnCluster.ManagedScalingPolicyProperty
Managed scaling policy for an Amazon EMR cluster.
Inheritance
System.Object
CfnCluster.ManagedScalingPolicyProperty
Implements
Namespace: Amazon.CDK.AWS.EMR
Assembly: Amazon.CDK.AWS.EMR.dll
Syntax (csharp)
public class ManagedScalingPolicyProperty : Object, CfnCluster.IManagedScalingPolicyProperty
Syntax (vb)
Public Class ManagedScalingPolicyProperty
Inherits Object
Implements CfnCluster.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
Constructors
ManagedScalingPolicyProperty() |
Properties
ComputeLimits | The Amazon EC2 unit limits for a managed scaling policy. |
Constructors
ManagedScalingPolicyProperty()
public ManagedScalingPolicyProperty()
Properties
ComputeLimits
The Amazon EC2 unit limits for a managed scaling policy.
public object ComputeLimits { get; set; }
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.