Class MetricGraphConfig
(deprecated) Properties used to construct the Metric identifying part of a Graph.
Inheritance
Implements
Namespace: Amazon.CDK.AWS.CloudWatch
Assembly: Amazon.CDK.AWS.CloudWatch.dll
Syntax (csharp)
public class MetricGraphConfig : Object, IMetricGraphConfig
Syntax (vb)
Public Class MetricGraphConfig
Inherits Object
Implements IMetricGraphConfig
Remarks
Stability: Deprecated
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 value;
var metricGraphConfig = new MetricGraphConfig {
MetricName = "metricName",
Namespace = "namespace",
Period = 123,
RenderingProperties = new MetricRenderingProperties {
Period = 123,
// the properties below are optional
Color = "color",
Label = "label",
Stat = "stat"
},
// the properties below are optional
Color = "color",
Dimensions = new [] { new Dimension {
Name = "name",
Value = value
} },
Label = "label",
Statistic = "statistic",
Unit = Unit.SECONDS
};
Synopsis
Constructors
MetricGraphConfig() |
Properties
Color | (deprecated) Color for the graph line. |
Dimensions | (deprecated) The dimensions to apply to the alarm. |
Label | (deprecated) Label for the metric. |
MetricName | (deprecated) Name of the metric. |
Namespace | (deprecated) Namespace of the metric. |
Period | (deprecated) How many seconds to aggregate over. |
RenderingProperties | (deprecated) Rendering properties override yAxis parameter of the widget object. |
Statistic | (deprecated) Aggregation function to use (can be either simple or a percentile). |
Unit | (deprecated) The unit of the alarm. |
Constructors
MetricGraphConfig()
public MetricGraphConfig()
Properties
Color
(deprecated) Color for the graph line.
public string Color { get; set; }
Property Value
System.String
Remarks
Stability: Deprecated
Dimensions
(deprecated) The dimensions to apply to the alarm.
public IDimension[] Dimensions { get; set; }
Property Value
Remarks
Stability: Deprecated
Label
(deprecated) Label for the metric.
public string Label { get; set; }
Property Value
System.String
Remarks
Stability: Deprecated
MetricName
(deprecated) Name of the metric.
public string MetricName { get; set; }
Property Value
System.String
Remarks
Stability: Deprecated
Namespace
(deprecated) Namespace of the metric.
public string Namespace { get; set; }
Property Value
System.String
Remarks
Stability: Deprecated
Period
(deprecated) How many seconds to aggregate over.
public double Period { get; set; }
Property Value
System.Double
Remarks
Stability: Deprecated
RenderingProperties
(deprecated) Rendering properties override yAxis parameter of the widget object.
public IMetricRenderingProperties RenderingProperties { get; set; }
Property Value
Remarks
Stability: Deprecated
Statistic
(deprecated) Aggregation function to use (can be either simple or a percentile).
public string Statistic { get; set; }
Property Value
System.String
Remarks
Stability: Deprecated
Unit
(deprecated) The unit of the alarm.
public Nullable<Unit> Unit { get; set; }
Property Value
System.Nullable<Unit>
Remarks
Stability: Deprecated