Class MetricAlarmConfig
(deprecated) Properties used to construct the Metric identifying part of an Alarm.
Inheritance
Implements
Namespace: Amazon.CDK.AWS.CloudWatch
Assembly: Amazon.CDK.AWS.CloudWatch.dll
Syntax (csharp)
public class MetricAlarmConfig : Object, IMetricAlarmConfig
Syntax (vb)
Public Class MetricAlarmConfig
Inherits Object
Implements IMetricAlarmConfig
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 metricAlarmConfig = new MetricAlarmConfig {
MetricName = "metricName",
Namespace = "namespace",
Period = 123,
// the properties below are optional
Dimensions = new [] { new Dimension {
Name = "name",
Value = value
} },
ExtendedStatistic = "extendedStatistic",
Statistic = Statistic.SAMPLE_COUNT,
Unit = Unit.SECONDS
};
Synopsis
Constructors
MetricAlarmConfig() |
Properties
Dimensions | (deprecated) The dimensions to apply to the alarm. |
ExtendedStatistic | (deprecated) Percentile aggregation function to use. |
MetricName | (deprecated) Name of the metric. |
Namespace | (deprecated) Namespace of the metric. |
Period | (deprecated) How many seconds to aggregate over. |
Statistic | (deprecated) Simple aggregation function to use. |
Unit | (deprecated) The unit of the alarm. |
Constructors
MetricAlarmConfig()
public MetricAlarmConfig()
Properties
Dimensions
(deprecated) The dimensions to apply to the alarm.
public IDimension[] Dimensions { get; set; }
Property Value
Remarks
Stability: Deprecated
ExtendedStatistic
(deprecated) Percentile aggregation function to use.
public string ExtendedStatistic { 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
Statistic
(deprecated) Simple aggregation function to use.
public Nullable<Statistic> Statistic { get; set; }
Property Value
System.Nullable<Statistic>
Remarks
Stability: Deprecated
Unit
(deprecated) The unit of the alarm.
public Nullable<Unit> Unit { get; set; }
Property Value
System.Nullable<Unit>
Remarks
Stability: Deprecated