Show / Hide Table of Contents

Class CfnClusterPropsMixin.ScalingConstraintsProperty

ScalingConstraints is a subproperty of the AutoScalingPolicy property type.

Inheritance
object
CfnClusterPropsMixin.ScalingConstraintsProperty
Implements
CfnClusterPropsMixin.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.Mixins.Preview.AWS.EMR.Mixins
Assembly: Amazon.CDK.Mixins.Preview.dll
Syntax (csharp)
public class CfnClusterPropsMixin.ScalingConstraintsProperty : CfnClusterPropsMixin.IScalingConstraintsProperty
Syntax (vb)
Public Class CfnClusterPropsMixin.ScalingConstraintsProperty Implements CfnClusterPropsMixin.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.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-emr-cluster-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.Mixins.Preview.AWS.EMR.Mixins;

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

Synopsis

Constructors

ScalingConstraintsProperty()

ScalingConstraints is a subproperty of the AutoScalingPolicy property type.

Properties

MaxCapacity

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

MinCapacity

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

Constructors

ScalingConstraintsProperty()

ScalingConstraints is a subproperty of the AutoScalingPolicy property type.

public ScalingConstraintsProperty()
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.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-emr-cluster-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.Mixins.Preview.AWS.EMR.Mixins;

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

Properties

MaxCapacity

The upper boundary of Amazon 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.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-emr-cluster-scalingconstraints.html#cfn-emr-cluster-scalingconstraints-maxcapacity

MinCapacity

The lower boundary of Amazon 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.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-emr-cluster-scalingconstraints.html#cfn-emr-cluster-scalingconstraints-mincapacity

Implements

CfnClusterPropsMixin.IScalingConstraintsProperty
Back to top Generated by DocFX