Interface EmrCreateCluster.IScalingActionProperty
The type of adjustment the automatic scaling activity makes when triggered, and the periodicity of the adjustment.
Namespace: Amazon.CDK.AWS.StepFunctions.Tasks
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface IScalingActionProperty
Syntax (vb)
Public Interface 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
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 Nullable<EmrCreateCluster.InstanceMarket> Market { get; }
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.
EmrCreateCluster.ISimpleScalingPolicyConfigurationProperty SimpleScalingPolicyConfiguration { get; }
Property Value
EmrCreateCluster.ISimpleScalingPolicyConfigurationProperty