Show / Hide Table of Contents

Class CfnInstanceGroupConfig.ScalingConstraintsProperty

ScalingConstraints is a subproperty of the AutoScalingPolicy property type.

Inheritance
System.Object
CfnInstanceGroupConfig.ScalingConstraintsProperty
Implements
CfnInstanceGroupConfig.IScalingConstraintsProperty
Namespace: Amazon.CDK.AWS.EMR
Assembly: Amazon.CDK.AWS.EMR.dll
Syntax (csharp)
public class ScalingConstraintsProperty : Object, CfnInstanceGroupConfig.IScalingConstraintsProperty
Syntax (vb)
Public Class ScalingConstraintsProperty
    Inherits Object
    Implements CfnInstanceGroupConfig.IScalingConstraintsProperty
Remarks

ScalingConstraints defines the upper and lower EC2 instance limits for an automatic scaling policy. Automatic scaling activities triggered by automatic scaling rules will not cause an instance group to grow above or shrink below these limits.

Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-instancegroupconfig-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.EMR;

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

Synopsis

Constructors

ScalingConstraintsProperty()

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()

public ScalingConstraintsProperty()

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

System.Double

Remarks

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

Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-instancegroupconfig-scalingconstraints.html#cfn-elasticmapreduce-instancegroupconfig-scalingconstraints-maxcapacity

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

System.Double

Remarks

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

Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-instancegroupconfig-scalingconstraints.html#cfn-elasticmapreduce-instancegroupconfig-scalingconstraints-mincapacity

Implements

CfnInstanceGroupConfig.IScalingConstraintsProperty
Back to top Generated by DocFX