Show / Hide Table of Contents

Class CfnClusterPropsMixin.ManagedScalingPolicyProperty

Managed scaling policy for an Amazon EMR cluster.

Inheritance
object
CfnClusterPropsMixin.ManagedScalingPolicyProperty
Implements
CfnClusterPropsMixin.IManagedScalingPolicyProperty
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: Amazon.CDK.CfnPropertyMixins.AWS.EMR
Assembly: Amazon.CDK.CfnPropertyMixins.dll
Syntax (csharp)
public class CfnClusterPropsMixin.ManagedScalingPolicyProperty : CfnClusterPropsMixin.IManagedScalingPolicyProperty
Syntax (vb)
Public Class CfnClusterPropsMixin.ManagedScalingPolicyProperty Implements CfnClusterPropsMixin.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.

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

             var managedScalingPolicyProperty = new ManagedScalingPolicyProperty {
                 ComputeLimits = new ComputeLimitsProperty {
                     MaximumCapacityUnits = 123,
                     MaximumCoreCapacityUnits = 123,
                     MaximumOnDemandCapacityUnits = 123,
                     MinimumCapacityUnits = 123,
                     UnitType = "unitType"
                 },
                 ScalingStrategy = "scalingStrategy",
                 UtilizationPerformanceIndex = 123
             };

Synopsis

Constructors

ManagedScalingPolicyProperty()

Managed scaling policy for an Amazon EMR cluster.

Properties

ComputeLimits

The Amazon EC2 unit limits for a managed scaling policy.

ScalingStrategy

Determines whether a custom scaling utilization performance index can be set.

UtilizationPerformanceIndex

An integer value that represents an advanced scaling strategy.

Constructors

ManagedScalingPolicyProperty()

Managed scaling policy for an Amazon EMR cluster.

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

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

             var managedScalingPolicyProperty = new ManagedScalingPolicyProperty {
                 ComputeLimits = new ComputeLimitsProperty {
                     MaximumCapacityUnits = 123,
                     MaximumCoreCapacityUnits = 123,
                     MaximumOnDemandCapacityUnits = 123,
                     MinimumCapacityUnits = 123,
                     UnitType = "unitType"
                 },
                 ScalingStrategy = "scalingStrategy",
                 UtilizationPerformanceIndex = 123
             };

Properties

ComputeLimits

The Amazon EC2 unit limits for a managed scaling policy.

public object? ComputeLimits { get; set; }
Property Value

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.

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

Type union: either IResolvable or CfnClusterPropsMixin.IComputeLimitsProperty

ScalingStrategy

Determines whether a custom scaling utilization performance index can be set.

public string? ScalingStrategy { get; set; }
Property Value

string

Remarks

Possible values include ADVANCED or DEFAULT .

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

UtilizationPerformanceIndex

An integer value that represents an advanced scaling strategy.

public double? UtilizationPerformanceIndex { get; set; }
Property Value

double?

Remarks

Setting a higher value optimizes for performance. Setting a lower value optimizes for resource conservation. Setting the value to 50 balances performance and resource conservation. Possible values are 1, 25, 50, 75, and 100.

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

Implements

CfnClusterPropsMixin.IManagedScalingPolicyProperty
Back to top Generated by DocFX