Class CfnInstanceGroupConfig.ScalingActionProperty
ScalingAction is a subproperty of the ScalingRule property type.
Implements
Inherited Members
Namespace: Amazon.CDK.AWS.EMR
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnInstanceGroupConfig.ScalingActionProperty : CfnInstanceGroupConfig.IScalingActionProperty
Syntax (vb)
Public Class CfnInstanceGroupConfig.ScalingActionProperty 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
| 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()
ScalingAction is a subproperty of the ScalingRule property type.
public ScalingActionProperty()
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"
};
Properties
Market
Not available for instance groups.
public string? Market { get; set; }
Property Value
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; }