Show / Hide Table of Contents

Class CfnInstanceGroupConfig.MetricDimensionProperty

MetricDimension is a subproperty of the CloudWatchAlarmDefinition property type.

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

MetricDimension specifies a CloudWatch dimension, which is specified with a Key Value pair. The key is known as a Name in CloudWatch. By default, Amazon EMR uses one dimension whose Key is JobFlowID and Value is a variable representing the cluster ID, which is ${emr.clusterId} . This enables the automatic scaling rule for EMR to bootstrap when the cluster ID becomes available during cluster creation.

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

MetricDimensionProperty metricDimensionProperty = new MetricDimensionProperty {
    Key = "key",
    Value = "value"
};

Synopsis

Constructors

MetricDimensionProperty()

Properties

Key

The dimension name.

Value

The dimension value.

Constructors

MetricDimensionProperty()

public MetricDimensionProperty()

Properties

Key

The dimension name.

public string Key { get; set; }
Property Value

System.String

Remarks

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

Value

The dimension value.

public string Value { get; set; }
Property Value

System.String

Remarks

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

Implements

CfnInstanceGroupConfig.IMetricDimensionProperty
Back to top Generated by DocFX