Class MetricRenderingProperties
(deprecated) Custom rendering properties that override the default rendering properties specified in the yAxis parameter of the widget object.
Inheritance
Implements
Namespace: Amazon.CDK.AWS.CloudWatch
Assembly: Amazon.CDK.AWS.CloudWatch.dll
Syntax (csharp)
public class MetricRenderingProperties : Object, IMetricRenderingProperties
Syntax (vb)
Public Class MetricRenderingProperties
Inherits Object
Implements IMetricRenderingProperties
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 metricRenderingProperties = new MetricRenderingProperties {
Period = 123,
// the properties below are optional
Color = "color",
Label = "label",
Stat = "stat"
};
Synopsis
Constructors
MetricRenderingProperties() |
Properties
Color | (deprecated) The hex color code, prefixed with '#' (e.g. '#00ff00'), to use when this metric is rendered on a graph. The |
Label | (deprecated) Label for the metric. |
Period | (deprecated) How many seconds to aggregate over. |
Stat | (deprecated) Aggregation function to use (can be either simple or a percentile). |
Constructors
MetricRenderingProperties()
public MetricRenderingProperties()
Properties
Color
(deprecated) The hex color code, prefixed with '#' (e.g. '#00ff00'), to use when this metric is rendered on a graph. The Color
class has a set of standard colors that can be used here.
public string Color { get; set; }
Property Value
System.String
Remarks
Stability: Deprecated
Label
(deprecated) Label for the metric.
public string Label { 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
Stat
(deprecated) Aggregation function to use (can be either simple or a percentile).
public string Stat { get; set; }
Property Value
System.String
Remarks
Stability: Deprecated