Class CfnInstanceGroupConfig.ScalingActionProperty
ScalingAction
is a subproperty of the ScalingRule
property type.
Inheritance
Namespace: Amazon.CDK.AWS.EMR
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class ScalingActionProperty : Object, CfnInstanceGroupConfig.IScalingActionProperty
Syntax (vb)
Public Class ScalingActionProperty
Inherits Object
Implements CfnInstanceGroupConfig.IScalingActionProperty
Remarks
ScalingAction
determines the type of adjustment the automatic scaling activity makes when triggered, and the periodicity of the adjustment.
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;
var 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
Scaling |
Properties
Market | Not available for instance groups. |
Simple |
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.
Remarks
Instance groups use the market type specified for the group.
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.