Show / Hide Table of Contents

Class CfnInstanceGroupConfig.ScalingTriggerProperty

ScalingTrigger is a subproperty of the ScalingRule property type.

Inheritance
System.Object
CfnInstanceGroupConfig.ScalingTriggerProperty
Implements
CfnInstanceGroupConfig.IScalingTriggerProperty
Namespace: Amazon.CDK.AWS.EMR
Assembly: Amazon.CDK.AWS.EMR.dll
Syntax (csharp)
public class ScalingTriggerProperty : Object, CfnInstanceGroupConfig.IScalingTriggerProperty
Syntax (vb)
Public Class ScalingTriggerProperty
    Inherits Object
    Implements CfnInstanceGroupConfig.IScalingTriggerProperty
Remarks

ScalingTrigger determines the conditions that trigger an automatic scaling activity.

Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-instancegroupconfig-scalingtrigger.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 scalingTriggerProperty = new ScalingTriggerProperty {
    CloudWatchAlarmDefinition = new CloudWatchAlarmDefinitionProperty {
        ComparisonOperator = "comparisonOperator",
        MetricName = "metricName",
        Period = 123,
        Threshold = 123,

        // the properties below are optional
        Dimensions = new [] { new MetricDimensionProperty {
            Key = "key",
            Value = "value"
        } },
        EvaluationPeriods = 123,
        Namespace = "namespace",
        Statistic = "statistic",
        Unit = "unit"
    }
};

Synopsis

Constructors

ScalingTriggerProperty()

Properties

CloudWatchAlarmDefinition

The definition of a CloudWatch metric alarm.

Constructors

ScalingTriggerProperty()

public ScalingTriggerProperty()

Properties

CloudWatchAlarmDefinition

The definition of a CloudWatch metric alarm.

public object CloudWatchAlarmDefinition { get; set; }
Property Value

System.Object

Remarks

When the defined alarm conditions are met along with other trigger parameters, scaling activity begins.

Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-instancegroupconfig-scalingtrigger.html#cfn-elasticmapreduce-instancegroupconfig-scalingtrigger-cloudwatchalarmdefinition

Implements

CfnInstanceGroupConfig.IScalingTriggerProperty
Back to top Generated by DocFX