interface MetricSourceProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.ApplicationSignals.CfnServiceLevelObjective.MetricSourceProperty |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsapplicationsignals#CfnServiceLevelObjective_MetricSourceProperty |
Java | software.amazon.awscdk.services.applicationsignals.CfnServiceLevelObjective.MetricSourceProperty |
Python | aws_cdk.aws_applicationsignals.CfnServiceLevelObjective.MetricSourceProperty |
TypeScript | aws-cdk-lib » aws_applicationsignals » CfnServiceLevelObjective » MetricSourceProperty |
Configuration for identifying the source of metrics for non-Application Signals services.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_applicationsignals as applicationsignals } from 'aws-cdk-lib';
const metricSourceProperty: applicationsignals.CfnServiceLevelObjective.MetricSourceProperty = {
metricSourceKeyAttributes: {
metricSourceKeyAttributesKey: 'metricSourceKeyAttributes',
},
// the properties below are optional
metricSourceAttributes: {
metricSourceAttributesKey: 'metricSourceAttributes',
},
};
Properties
| Name | Type | Description |
|---|---|---|
| metric | IResolvable | { [string]: string } | Required attributes that identify the metric source. |
| metric | IResolvable | { [string]: string } | Optional additional attributes for the metric source. |
metricSourceKeyAttributes
Type:
IResolvable | { [string]: string }
Required attributes that identify the metric source.
metricSourceAttributes?
Type:
IResolvable | { [string]: string }
(optional)
Optional additional attributes for the metric source.

.NET
Go
Java
Python
TypeScript