Show / Hide Table of Contents

Class CfnCluster.ScalingActionProperty

ScalingAction is a subproperty of the ScalingRule property type.

Inheritance
object
CfnCluster.ScalingActionProperty
Implements
CfnCluster.IScalingActionProperty
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: Amazon.CDK.AWS.EMR
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnCluster.ScalingActionProperty : CfnCluster.IScalingActionProperty
Syntax (vb)
Public Class CfnCluster.ScalingActionProperty Implements CfnCluster.IScalingActionProperty
Remarks

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

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-emr-cluster-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.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

Constructors

ScalingActionProperty()

ScalingAction is a subproperty of the ScalingRule property type.

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()

ScalingAction is a subproperty of the ScalingRule property type.

public ScalingActionProperty()
Remarks

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

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-emr-cluster-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.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"
             };

Properties

Market

Not available for instance groups.

public string? Market { get; set; }
Property Value

string

Remarks

Instance groups use the market type specified for the group.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-emr-cluster-scalingaction.html#cfn-emr-cluster-scalingaction-market

SimpleScalingPolicyConfiguration

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

public object SimpleScalingPolicyConfiguration { get; set; }
Property Value

object

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-emr-cluster-scalingaction.html#cfn-emr-cluster-scalingaction-simplescalingpolicyconfiguration

Type union: either IResolvable or CfnCluster.ISimpleScalingPolicyConfigurationProperty

Implements

CfnCluster.IScalingActionProperty
Back to top Generated by DocFX