Class EmrCreateCluster.ScalingActionProperty
The type of adjustment the automatic scaling activity makes when triggered, and the periodicity of the adjustment.
Inheritance
Implements
Namespace: Amazon.CDK.AWS.StepFunctions.Tasks
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class ScalingActionProperty : Object, EmrCreateCluster.IScalingActionProperty
Syntax (vb)
Public Class ScalingActionProperty
Inherits Object
Implements EmrCreateCluster.IScalingActionProperty
Remarks
And an automatic scaling configuration, which describes how the policy adds or removes instances, the cooldown period, and the number of EC2 instances that will be added each time the CloudWatch metric alarm condition is satisfied.
See: https://docs.aws.amazon.com/emr/latest/APIReference/API_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.StepFunctions.Tasks;
var scalingActionProperty = new ScalingActionProperty {
SimpleScalingPolicyConfiguration = new SimpleScalingPolicyConfigurationProperty {
ScalingAdjustment = 123,
// the properties below are optional
AdjustmentType = EmrCreateCluster.ScalingAdjustmentType.CHANGE_IN_CAPACITY,
CoolDown = 123
},
// the properties below are optional
Market = EmrCreateCluster.InstanceMarket.ON_DEMAND
};
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 Nullable<EmrCreateCluster.InstanceMarket> Market { get; set; }
Property Value
System.Nullable<EmrCreateCluster.InstanceMarket>
Remarks
Instance groups use the market type specified for the group.
Default: - EMR selected default
SimpleScalingPolicyConfiguration
The type of adjustment the automatic scaling activity makes when triggered, and the periodicity of the adjustment.
public EmrCreateCluster.ISimpleScalingPolicyConfigurationProperty SimpleScalingPolicyConfiguration { get; set; }
Property Value
EmrCreateCluster.ISimpleScalingPolicyConfigurationProperty