# SourceMetricsConfigurationProperty

- Source: Generated at build time
- Type last changed: v2.260.0 · 16 Jun 2026

## Example

TypeScript:

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_observabilityadmin as observabilityadmin } from 'aws-cdk-lib';
const sourceMetricsConfigurationProperty: observabilityadmin.CfnOrganizationCentralizationRule.SourceMetricsConfigurationProperty = {
  metricsSelectionCriteria: 'metricsSelectionCriteria',
};
```

Python:

```python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_observabilityadmin as observabilityadmin

source_metrics_configuration_property = observabilityadmin.CfnOrganizationCentralizationRule.SourceMetricsConfigurationProperty(
    metrics_selection_criteria="metricsSelectionCriteria"
)
```

Java:

```java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.observabilityadmin.*;

SourceMetricsConfigurationProperty sourceMetricsConfigurationProperty = SourceMetricsConfigurationProperty.builder()
        .metricsSelectionCriteria("metricsSelectionCriteria")
        .build();
```

C# / .NET:

```csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.ObservabilityAdmin;

var sourceMetricsConfigurationProperty = new SourceMetricsConfigurationProperty {
    MetricsSelectionCriteria = "metricsSelectionCriteria"
};
```

Golang:

```go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// 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"

sourceMetricsConfigurationProperty := &SourceMetricsConfigurationProperty{
	MetricsSelectionCriteria: jsii.String("metricsSelectionCriteria"),
}
```

## Properties

- `metricsSelectionCriteria`: string
