Interface CfnServiceLevelObjective.IMetricProperty
This structure defines the metric used for a service level indicator, including the metric name, namespace, and dimensions.
Namespace: Amazon.CDK.AWS.ApplicationSignals
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface CfnServiceLevelObjective.IMetricProperty
Syntax (vb)
Public Interface CfnServiceLevelObjective.IMetricProperty
Remarks
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.ApplicationSignals;
var metricProperty = new MetricProperty {
Dimensions = new [] { new DimensionProperty {
Name = "name",
Value = "value"
} },
MetricName = "metricName",
Namespace = "namespace"
};
Synopsis
Properties
| Dimensions | An array of one or more dimensions to use to define the metric that you want to use. |
| MetricName | The name of the metric to use. |
| Namespace | The namespace of the metric. |
Properties
Dimensions
An array of one or more dimensions to use to define the metric that you want to use.
object? Dimensions { get; }
Property Value
Remarks
For more information, see Dimensions .
Type union: either IResolvable or (either IResolvable or CfnServiceLevelObjective.IDimensionProperty)[]
MetricName
The name of the metric to use.
string? MetricName { get; }
Property Value
Remarks
Namespace
The namespace of the metric.
string? Namespace { get; }