Show / Hide Table of Contents

Class EmrCreateCluster.ScalingConstraintsProperty

The upper and lower EC2 instance limits for an automatic scaling policy.

Inheritance
object
EmrCreateCluster.ScalingConstraintsProperty
Implements
EmrCreateCluster.IScalingConstraintsProperty
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: Amazon.CDK.AWS.StepFunctions.Tasks
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class EmrCreateCluster.ScalingConstraintsProperty : EmrCreateCluster.IScalingConstraintsProperty
Syntax (vb)
Public Class EmrCreateCluster.ScalingConstraintsProperty Implements EmrCreateCluster.IScalingConstraintsProperty
Remarks

Automatic scaling activities triggered by automatic scaling rules will not cause an instance group to grow above or below these limits.

See: https://docs.aws.amazon.com/emr/latest/APIReference/API_ScalingConstraints.html

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.StepFunctions.Tasks;

             var scalingConstraintsProperty = new ScalingConstraintsProperty {
                 MaxCapacity = 123,
                 MinCapacity = 123
             };

Synopsis

Constructors

ScalingConstraintsProperty()

The upper and lower EC2 instance limits for an automatic scaling policy.

Properties

MaxCapacity

The upper boundary of EC2 instances in an instance group beyond which scaling activities are not allowed to grow.

MinCapacity

The lower boundary of EC2 instances in an instance group below which scaling activities are not allowed to shrink.

Constructors

ScalingConstraintsProperty()

The upper and lower EC2 instance limits for an automatic scaling policy.

public ScalingConstraintsProperty()
Remarks

Automatic scaling activities triggered by automatic scaling rules will not cause an instance group to grow above or below these limits.

See: https://docs.aws.amazon.com/emr/latest/APIReference/API_ScalingConstraints.html

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.StepFunctions.Tasks;

             var scalingConstraintsProperty = new ScalingConstraintsProperty {
                 MaxCapacity = 123,
                 MinCapacity = 123
             };

Properties

MaxCapacity

The upper boundary of EC2 instances in an instance group beyond which scaling activities are not allowed to grow.

public double MaxCapacity { get; set; }
Property Value

double

Remarks

Scale-out activities will not add instances beyond this boundary.

MinCapacity

The lower boundary of EC2 instances in an instance group below which scaling activities are not allowed to shrink.

public double MinCapacity { get; set; }
Property Value

double

Remarks

Scale-in activities will not terminate instances below this boundary.

Implements

EmrCreateCluster.IScalingConstraintsProperty
Back to top Generated by DocFX