Interface CfnInstanceGroupConfig.IScalingActionProperty
ScalingAction
is a subproperty of the ScalingRule
property type.
Namespace: Amazon.CDK.AWS.EMR
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface IScalingActionProperty
Syntax (vb)
Public Interface 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
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. |
Properties
Market
Not available for instance groups.
virtual string Market { get; }
Property Value
System.String
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.
object SimpleScalingPolicyConfiguration { get; }
Property Value
System.Object