Skip to content
v2.278.0

PrometheusMonitoringConfigurationProperty Struct ​

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

Example ​

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
# 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
// 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();
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"
};
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 ​

remoteWriteUrloptionalstringremote_write_urloptionalstrremoteWriteUrloptionalStringRemoteWriteUrloptionalstringRemoteWriteUrloptional*string #
The remote write URL in the Amazon Managed Service for Prometheus workspace to send metrics to.