Show / Hide Table of Contents

Class CfnAnomalyDetector.MetricProperty

Represents a specific metric.

Inheritance
System.Object
CfnAnomalyDetector.MetricProperty
Implements
CfnAnomalyDetector.IMetricProperty
Namespace: Amazon.CDK.AWS.CloudWatch
Assembly: Amazon.CDK.AWS.CloudWatch.dll
Syntax (csharp)
public class MetricProperty : Object, CfnAnomalyDetector.IMetricProperty
Syntax (vb)
Public Class MetricProperty
    Inherits Object
    Implements CfnAnomalyDetector.IMetricProperty
Remarks

Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudwatch-anomalydetector-metric.html

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 metricProperty = new MetricProperty {
    MetricName = "metricName",
    Namespace = "namespace",

    // the properties below are optional
    Dimensions = new [] { new DimensionProperty {
        Name = "name",
        Value = "value"
    } }
};

Synopsis

Constructors

MetricProperty()

Properties

Dimensions

The dimensions for the metric.

MetricName

The name of the metric.

Namespace

The namespace of the metric.

Constructors

MetricProperty()

public MetricProperty()

Properties

Dimensions

The dimensions for the metric.

public object Dimensions { get; set; }
Property Value

System.Object

Remarks

Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudwatch-anomalydetector-metric.html#cfn-cloudwatch-anomalydetector-metric-dimensions

MetricName

The name of the metric.

public string MetricName { get; set; }
Property Value

System.String

Remarks

This is a required field.

Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudwatch-anomalydetector-metric.html#cfn-cloudwatch-anomalydetector-metric-metricname

Namespace

The namespace of the metric.

public string Namespace { get; set; }
Property Value

System.String

Remarks

Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudwatch-anomalydetector-metric.html#cfn-cloudwatch-anomalydetector-metric-namespace

Implements

CfnAnomalyDetector.IMetricProperty
Back to top Generated by DocFX