Show / Hide Table of Contents

Class CfnClusterPropsMixin.MetricDimensionProperty

MetricDimension is a subproperty of the CloudWatchAlarmDefinition property type.

Inheritance
object
CfnClusterPropsMixin.MetricDimensionProperty
Implements
CfnClusterPropsMixin.IMetricDimensionProperty
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: Amazon.CDK.Mixins.Preview.AWS.EMR.Mixins
Assembly: Amazon.CDK.Mixins.Preview.dll
Syntax (csharp)
public class CfnClusterPropsMixin.MetricDimensionProperty : CfnClusterPropsMixin.IMetricDimensionProperty
Syntax (vb)
Public Class CfnClusterPropsMixin.MetricDimensionProperty Implements CfnClusterPropsMixin.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.

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

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

Synopsis

Constructors

MetricDimensionProperty()

MetricDimension is a subproperty of the CloudWatchAlarmDefinition property type.

Properties

Key

The dimension name.

Value

The dimension value.

Constructors

MetricDimensionProperty()

MetricDimension is a subproperty of the CloudWatchAlarmDefinition property type.

public MetricDimensionProperty()
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.

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

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

Properties

Key

The dimension name.

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

string

Remarks

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

Value

The dimension value.

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

string

Remarks

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

Implements

CfnClusterPropsMixin.IMetricDimensionProperty
Back to top Generated by DocFX