# PrometheusMonitoringConfigurationProperty

The monitoring configuration object you can configure to send metrics to Amazon Managed Service for Prometheus for a job run.

- Source: Generated at build time
- Type last changed: v2.177.0 · 25 Jan 2025

## Example

TypeScript:

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_emrserverless as emrserverless } from 'aws-cdk-lib';
const prometheusMonitoringConfigurationProperty: emrserverless.CfnApplication.PrometheusMonitoringConfigurationProperty = {
  remoteWriteUrl: 'remoteWriteUrl',
};
```

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_emrserverless as emrserverless

prometheus_monitoring_configuration_property = emrserverless.CfnApplication.PrometheusMonitoringConfigurationProperty(
    remote_write_url="remoteWriteUrl"
)
```

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.emrserverless.*;

PrometheusMonitoringConfigurationProperty prometheusMonitoringConfigurationProperty = PrometheusMonitoringConfigurationProperty.builder()
        .remoteWriteUrl("remoteWriteUrl")
        .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.EMRServerless;

var prometheusMonitoringConfigurationProperty = new PrometheusMonitoringConfigurationProperty {
    RemoteWriteUrl = "remoteWriteUrl"
};
```

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"

prometheusMonitoringConfigurationProperty := &PrometheusMonitoringConfigurationProperty{
	RemoteWriteUrl: jsii.String("remoteWriteUrl"),
}
```

## Properties

- `remoteWriteUrl`: string — The remote write URL in the Amazon Managed Service for Prometheus workspace to send metrics to.
