aws-cdk-lib.aws_emr.CfnCluster.ScalingActionProperty

interface ScalingActionProperty

LanguageType name
.NETAmazon.CDK.AWS.EMR.CfnCluster.ScalingActionProperty
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awsemr#CfnCluster_ScalingActionProperty
Javasoftware.amazon.awscdk.services.emr.CfnCluster.ScalingActionProperty
Pythonaws_cdk.aws_emr.CfnCluster.ScalingActionProperty
TypeScript aws-cdk-lib » aws_emr » CfnCluster » ScalingActionProperty

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

// 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.CfnCluster.ScalingActionProperty = {
  simpleScalingPolicyConfiguration: {
    scalingAdjustment: 123,

    // the properties below are optional
    adjustmentType: 'adjustmentType',
    coolDown: 123,
  },

  // the properties below are optional
  market: 'market',
};

Properties

NameTypeDescription
simpleScalingPolicyConfigurationIResolvable | SimpleScalingPolicyConfigurationPropertyThe type of adjustment the automatic scaling activity makes when triggered, and the periodicity of the adjustment.
market?stringNot available for instance groups.

simpleScalingPolicyConfiguration

Type: IResolvable | SimpleScalingPolicyConfigurationProperty

The type of adjustment the automatic scaling activity makes when triggered, and the periodicity of the adjustment.


market?

Type: string (optional)

Not available for instance groups.

Instance groups use the market type specified for the group.