ScalingActionProperty Struct
ScalingAction is a subproperty of the ScalingRule property type.
ScalingAction determines the type of adjustment the automatic scaling activity makes when triggered, and the periodicity of the adjustment.
Example
ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_emr as emr } from 'aws-cdk-lib';
const scalingActionProperty: emr.CfnInstanceGroupConfig.ScalingActionProperty = {
simpleScalingPolicyConfiguration: {
scalingAdjustment: 123,
// the properties below are optional
adjustmentType: 'adjustmentType',
coolDown: 123,
},
// the properties below are optional
market: 'market',
};
Properties
Not available for instance groups.
Instance groups use the market type specified for the group.
simpleScalingPolicyConfigurationIResolvable | CfnInstanceGroupConfig.SimpleScalingPolicyConfigurationPropertysimple_scaling_policy_configurationtyping.Union[IResolvable, SimpleScalingPolicyConfigurationProperty]simpleScalingPolicyConfigurationIResolvableSimpleScalingPolicyConfigurationIResolvableSimpleScalingPolicyConfigurationinterface{}required#The type of adjustment the automatic scaling activity makes when triggered, and the periodicity of the adjustment.