package awscloudwatch // Represents a specific metric. // // Example: // // The code below shows an example of how to instantiate this type. // // The values are placeholders you should change. // import "github.com/aws/aws-cdk-go/awscdk" // // metricProperty := &MetricProperty{ // MetricName: jsii.String("metricName"), // Namespace: jsii.String("namespace"), // // // the properties below are optional // Dimensions: []interface{}{ // &DimensionProperty{ // Name: jsii.String("name"), // Value: jsii.String("value"), // }, // }, // } // // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudwatch-anomalydetector-metric.html // type CfnAnomalyDetector_MetricProperty struct { // The name of the metric. // // 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 // MetricName *string `field:"required" json:"metricName" yaml:"metricName"` // The namespace of the metric. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudwatch-anomalydetector-metric.html#cfn-cloudwatch-anomalydetector-metric-namespace // Namespace *string `field:"required" json:"namespace" yaml:"namespace"` // The dimensions for the metric. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudwatch-anomalydetector-metric.html#cfn-cloudwatch-anomalydetector-metric-dimensions // Dimensions interface{} `field:"optional" json:"dimensions" yaml:"dimensions"` }