Class CfnAnomalyDetectorPropsMixin.MetricProperty
Represents a specific metric.
Implements
Inherited Members
Namespace: Amazon.CDK.Mixins.Preview.AWS.CloudWatch.Mixins
Assembly: Amazon.CDK.Mixins.Preview.dll
Syntax (csharp)
public class CfnAnomalyDetectorPropsMixin.MetricProperty : CfnAnomalyDetectorPropsMixin.IMetricProperty
Syntax (vb)
Public Class CfnAnomalyDetectorPropsMixin.MetricProperty Implements CfnAnomalyDetectorPropsMixin.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.Mixins.Preview.AWS.CloudWatch.Mixins;
var metricProperty = new MetricProperty {
Dimensions = new [] { new DimensionProperty {
Name = "name",
Value = "value"
} },
MetricName = "metricName",
Namespace = "namespace"
};
Synopsis
Constructors
| MetricProperty() | Represents a specific metric. |
Properties
| Dimensions | The dimensions for the metric. |
| MetricName | The name of the metric. |
| Namespace | The namespace of the metric. |
Constructors
MetricProperty()
Represents a specific metric.
public MetricProperty()
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.Mixins.Preview.AWS.CloudWatch.Mixins;
var metricProperty = new MetricProperty {
Dimensions = new [] { new DimensionProperty {
Name = "name",
Value = "value"
} },
MetricName = "metricName",
Namespace = "namespace"
};
Properties
Dimensions
The dimensions for the metric.
public object? Dimensions { get; set; }
Property Value
Remarks
MetricName
The name of the metric.
public string? MetricName { get; set; }
Property Value
Remarks
Namespace
The namespace of the metric.
public string? Namespace { get; set; }