Show / Hide Table of Contents

Interface IMetricGraphConfig

(deprecated) Properties used to construct the Metric identifying part of a Graph.

Namespace: Amazon.CDK.AWS.CloudWatch
Assembly: Amazon.CDK.AWS.CloudWatch.dll
Syntax (csharp)
public interface IMetricGraphConfig
Syntax (vb)
Public Interface 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

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.

Properties

Color

(deprecated) Color for the graph line.

virtual string Color { get; }
Property Value

System.String

Remarks

Stability: Deprecated

Dimensions

(deprecated) The dimensions to apply to the alarm.

virtual IDimension[] Dimensions { get; }
Property Value

IDimension[]

Remarks

Stability: Deprecated

Label

(deprecated) Label for the metric.

virtual string Label { get; }
Property Value

System.String

Remarks

Stability: Deprecated

MetricName

(deprecated) Name of the metric.

string MetricName { get; }
Property Value

System.String

Remarks

Stability: Deprecated

Namespace

(deprecated) Namespace of the metric.

string Namespace { 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

RenderingProperties

(deprecated) Rendering properties override yAxis parameter of the widget object.

IMetricRenderingProperties RenderingProperties { get; }
Property Value

IMetricRenderingProperties

Remarks

Stability: Deprecated

Statistic

(deprecated) Aggregation function to use (can be either simple or a percentile).

virtual string Statistic { get; }
Property Value

System.String

Remarks

Stability: Deprecated

Unit

(deprecated) The unit of the alarm.

virtual Nullable<Unit> Unit { get; }
Property Value

System.Nullable<Unit>

Remarks

Stability: Deprecated

Back to top Generated by DocFX