Interface IMetricRenderingProperties
(deprecated) Custom rendering properties that override the default rendering properties specified in the yAxis parameter of the widget object.
Namespace: Amazon.CDK.AWS.CloudWatch
Assembly: Amazon.CDK.AWS.CloudWatch.dll
Syntax (csharp)
public interface IMetricRenderingProperties
Syntax (vb)
Public Interface 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
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). |
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.
virtual string Color { get; }
Property Value
System.String
Remarks
Stability: Deprecated
Label
(deprecated) Label for the metric.
virtual string Label { get; }
Property Value
System.String
Remarks
Stability: Deprecated
Period
(deprecated) How many seconds to aggregate over.
double Period { get; }
Property Value
System.Double
Remarks
Stability: Deprecated
Stat
(deprecated) Aggregation function to use (can be either simple or a percentile).
virtual string Stat { get; }
Property Value
System.String
Remarks
Stability: Deprecated