Interface CfnAnomalyDetector.IMetricProperty
Represents a specific metric.
Namespace: Amazon.CDK.AWS.CloudWatch
Assembly: Amazon.CDK.AWS.CloudWatch.dll
Syntax (csharp)
public interface IMetricProperty
Syntax (vb)
Public Interface 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
Properties
Dimensions | The dimensions for the metric. |
MetricName | The name of the metric. |
Namespace | The namespace of the metric. |
Properties
Dimensions
The dimensions for the metric.
virtual object Dimensions { get; }
Property Value
System.Object
Remarks
MetricName
The name of the metric.
string MetricName { get; }
Property Value
System.String
Remarks
Namespace
The namespace of the metric.
string Namespace { get; }
Property Value
System.String