Show / Hide Table of Contents

Interface IMetricAlarmConfig

(deprecated) Properties used to construct the Metric identifying part of an Alarm.

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

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.

Properties

Dimensions

(deprecated) The dimensions to apply to the alarm.

virtual IDimension[] Dimensions { get; }
Property Value

IDimension[]

Remarks

Stability: Deprecated

ExtendedStatistic

(deprecated) Percentile aggregation function to use.

virtual string ExtendedStatistic { 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

Statistic

(deprecated) Simple aggregation function to use.

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

System.Nullable<Statistic>

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