Show / Hide Table of Contents

Class CfnAnomalyDetectorPropsMixin.MetricProperty

Represents a specific metric.

Inheritance
object
CfnAnomalyDetectorPropsMixin.MetricProperty
Implements
CfnAnomalyDetectorPropsMixin.IMetricProperty
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: Amazon.CDK.Mixins.Preview.AWS.CloudWatch.Mixins
Assembly: Amazon.CDK.Mixins.Preview.dll
Syntax (csharp)
public class CfnAnomalyDetectorPropsMixin.MetricProperty : CfnAnomalyDetectorPropsMixin.IMetricProperty
Syntax (vb)
Public Class CfnAnomalyDetectorPropsMixin.MetricProperty Implements CfnAnomalyDetectorPropsMixin.IMetricProperty
Remarks

See: 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.Mixins.Preview.AWS.CloudWatch.Mixins;

             var metricProperty = new MetricProperty {
                 Dimensions = new [] { new DimensionProperty {
                     Name = "name",
                     Value = "value"
                 } },
                 MetricName = "metricName",
                 Namespace = "namespace"
             };

Synopsis

Constructors

MetricProperty()

Represents a specific metric.

Properties

Dimensions

The dimensions for the metric.

MetricName

The name of the metric.

Namespace

The namespace of the metric.

Constructors

MetricProperty()

Represents a specific metric.

public MetricProperty()
Remarks

See: 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.Mixins.Preview.AWS.CloudWatch.Mixins;

             var metricProperty = new MetricProperty {
                 Dimensions = new [] { new DimensionProperty {
                     Name = "name",
                     Value = "value"
                 } },
                 MetricName = "metricName",
                 Namespace = "namespace"
             };

Properties

Dimensions

The dimensions for the metric.

public object? Dimensions { get; set; }
Property Value

object

Remarks

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

Type union: either IResolvable or (either IResolvable or CfnAnomalyDetectorPropsMixin.IDimensionProperty)[]

MetricName

The name of the metric.

public string? MetricName { get; set; }
Property Value

string

Remarks

This is a required field.

See: 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

string

Remarks

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

Implements

CfnAnomalyDetectorPropsMixin.IMetricProperty
Back to top Generated by DocFX