Show / Hide Table of Contents

Class CfnAnomalyDetector.DimensionProperty

A dimension is a name/value pair that is part of the identity of a metric.

Inheritance
System.Object
CfnAnomalyDetector.DimensionProperty
Implements
CfnAnomalyDetector.IDimensionProperty
Namespace: Amazon.CDK.AWS.CloudWatch
Assembly: Amazon.CDK.AWS.CloudWatch.dll
Syntax (csharp)
public class DimensionProperty : Object, CfnAnomalyDetector.IDimensionProperty
Syntax (vb)
Public Class DimensionProperty
    Inherits Object
    Implements CfnAnomalyDetector.IDimensionProperty
Remarks

Because dimensions are part of the unique identifier for a metric, whenever you add a unique name/value pair to one of your metrics, you are creating a new variation of that metric. For example, many Amazon EC2 metrics publish InstanceId as a dimension name, and the actual instance ID as the value for that dimension.

You can assign up to 10 dimensions to a metric.

Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudwatch-anomalydetector-dimension.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.CloudWatch;

DimensionProperty dimensionProperty = new DimensionProperty {
    Name = "name",
    Value = "value"
};

Synopsis

Constructors

DimensionProperty()

Properties

Name

The name of the dimension.

Value

The value of the dimension.

Constructors

DimensionProperty()

public DimensionProperty()

Properties

Name

The name of the dimension.

public string Name { get; set; }
Property Value

System.String

Remarks

Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudwatch-anomalydetector-dimension.html#cfn-cloudwatch-anomalydetector-dimension-name

Value

The value of the dimension.

public string Value { get; set; }
Property Value

System.String

Remarks

Dimension values must contain only ASCII characters and must include at least one non-whitespace character.

Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudwatch-anomalydetector-dimension.html#cfn-cloudwatch-anomalydetector-dimension-value

Implements

CfnAnomalyDetector.IDimensionProperty
Back to top Generated by DocFX