Show / Hide Table of Contents

Class CfnCluster.ScalingActionProperty

ScalingAction is a subproperty of the ScalingRule property type.

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

ScalingAction determines the type of adjustment the automatic scaling activity makes when triggered, and the periodicity of the adjustment.

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

ScalingActionProperty scalingActionProperty = new ScalingActionProperty {
    SimpleScalingPolicyConfiguration = new SimpleScalingPolicyConfigurationProperty {
        ScalingAdjustment = 123,

        // the properties below are optional
        AdjustmentType = "adjustmentType",
        CoolDown = 123
    },

    // the properties below are optional
    Market = "market"
};

Synopsis

Constructors

ScalingActionProperty()

Properties

Market

Not available for instance groups.

SimpleScalingPolicyConfiguration

The type of adjustment the automatic scaling activity makes when triggered, and the periodicity of the adjustment.

Constructors

ScalingActionProperty()

public ScalingActionProperty()

Properties

Market

Not available for instance groups.

public string Market { get; set; }
Property Value

System.String

Remarks

Instance groups use the market type specified for the group.

Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-cluster-scalingaction.html#cfn-elasticmapreduce-cluster-scalingaction-market

SimpleScalingPolicyConfiguration

The type of adjustment the automatic scaling activity makes when triggered, and the periodicity of the adjustment.

public object SimpleScalingPolicyConfiguration { get; set; }
Property Value

System.Object

Remarks

Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-cluster-scalingaction.html#cfn-elasticmapreduce-cluster-scalingaction-simplescalingpolicyconfiguration

Implements

CfnCluster.IScalingActionProperty
Back to top Generated by DocFX