Class CfnAnomalyDetector.MetricProperty
Represents a specific metric.
Inheritance
System.Object
CfnAnomalyDetector.MetricProperty
Implements
Namespace: Amazon.CDK.AWS.CloudWatch
Assembly: Amazon.CDK.AWS.CloudWatch.dll
Syntax (csharp)
public class MetricProperty : Object, CfnAnomalyDetector.IMetricProperty
Syntax (vb)
Public Class MetricProperty
Inherits Object
Implements CfnAnomalyDetector.IMetricProperty
Remarks
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;
var metricProperty = new MetricProperty {
MetricName = "metricName",
Namespace = "namespace",
// the properties below are optional
Dimensions = new [] { new DimensionProperty {
Name = "name",
Value = "value"
} }
};
Synopsis
Constructors
MetricProperty() |
Properties
Dimensions | The dimensions for the metric. |
MetricName | The name of the metric. |
Namespace | The namespace of the metric. |
Constructors
MetricProperty()
public MetricProperty()
Properties
Dimensions
The dimensions for the metric.
public object Dimensions { get; set; }
Property Value
System.Object
Remarks
MetricName
The name of the metric.
public string MetricName { get; set; }
Property Value
System.String
Remarks
Namespace
The namespace of the metric.
public string Namespace { get; set; }
Property Value
System.String