Class CfnServiceLevelObjective.MetricSourceProperty
Configuration for identifying the source of metrics for non-Application Signals services.
Implements
Inherited Members
Namespace: Amazon.CDK.AWS.ApplicationSignals
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnServiceLevelObjective.MetricSourceProperty : CfnServiceLevelObjective.IMetricSourceProperty
Syntax (vb)
Public Class CfnServiceLevelObjective.MetricSourceProperty Implements CfnServiceLevelObjective.IMetricSourceProperty
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 metricSourceProperty = new MetricSourceProperty {
MetricSourceKeyAttributes = new Dictionary<string, string> {
{ "metricSourceKeyAttributesKey", "metricSourceKeyAttributes" }
},
// the properties below are optional
MetricSourceAttributes = new Dictionary<string, string> {
{ "metricSourceAttributesKey", "metricSourceAttributes" }
}
};
Synopsis
Constructors
| MetricSourceProperty() | Configuration for identifying the source of metrics for non-Application Signals services. |
Properties
| MetricSourceAttributes | Optional additional attributes for the metric source. |
| MetricSourceKeyAttributes | Required attributes that identify the metric source. |
Constructors
MetricSourceProperty()
Configuration for identifying the source of metrics for non-Application Signals services.
public MetricSourceProperty()
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 metricSourceProperty = new MetricSourceProperty {
MetricSourceKeyAttributes = new Dictionary<string, string> {
{ "metricSourceKeyAttributesKey", "metricSourceKeyAttributes" }
},
// the properties below are optional
MetricSourceAttributes = new Dictionary<string, string> {
{ "metricSourceAttributesKey", "metricSourceAttributes" }
}
};
Properties
MetricSourceAttributes
Optional additional attributes for the metric source.
public object? MetricSourceAttributes { get; set; }
Property Value
Remarks
MetricSourceKeyAttributes
Required attributes that identify the metric source.
public object MetricSourceKeyAttributes { get; set; }