Interface IMetricProps
Properties for a metric.
Inherited Members
Namespace: Amazon.CDK.AWS.CloudWatch
Assembly: Amazon.CDK.AWS.CloudWatch.dll
Syntax (csharp)
public interface IMetricProps : ICommonMetricOptions
Syntax (vb)
Public Interface IMetricProps
Inherits ICommonMetricOptions
Remarks
ExampleMetadata: infused
Examples
var hostedZone = new HostedZone(this, "MyHostedZone", new HostedZoneProps { ZoneName = "example.org" });
var metric = new Metric(new MetricProps {
Namespace = "AWS/Route53",
MetricName = "DNSQueries",
DimensionsMap = new Dictionary<string, string> {
{ "HostedZoneId", hostedZone.HostedZoneId }
}
});
Synopsis
Properties
MetricName | Name of the metric. |
Namespace | Namespace of the metric. |
Properties
MetricName
Name of the metric.
string MetricName { get; }
Property Value
System.String
Namespace
Namespace of the metric.
string Namespace { get; }
Property Value
System.String