Show / Hide Table of Contents

Interface CfnCluster.IScalingTriggerProperty

ScalingTrigger is a subproperty of the ScalingRule property type.

Namespace: Amazon.CDK.AWS.EMR
Assembly: Amazon.CDK.AWS.EMR.dll
Syntax (csharp)
public interface IScalingTriggerProperty
Syntax (vb)
Public Interface IScalingTriggerProperty
Remarks

ScalingTrigger determines the conditions that trigger an automatic scaling activity.

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

Properties

CloudWatchAlarmDefinition

The definition of a CloudWatch metric alarm.

Properties

CloudWatchAlarmDefinition

The definition of a CloudWatch metric alarm.

object CloudWatchAlarmDefinition { get; }
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-cluster-scalingtrigger.html#cfn-elasticmapreduce-cluster-scalingtrigger-cloudwatchalarmdefinition

Back to top Generated by DocFX