Interface MonitoringConfiguration
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
MonitoringConfiguration.Jsii$Proxy
@Generated(value="jsii-pacmak/1.104.0 (build e79254c)",
date="2024-11-22T02:24:11.763Z")
@Stability(Experimental)
public interface MonitoringConfiguration
extends software.amazon.jsii.JsiiSerializable
(experimental) Monitoring Configuration.
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import software.amazon.awscdk.services.msk.alpha.*; MonitoringConfiguration monitoringConfiguration = MonitoringConfiguration.builder() .clusterMonitoringLevel(ClusterMonitoringLevel.DEFAULT) .enablePrometheusJmxExporter(false) .enablePrometheusNodeExporter(false) .build();
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forMonitoringConfiguration
static final class
An implementation forMonitoringConfiguration
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
default ClusterMonitoringLevel
(experimental) Specifies the level of monitoring for the MSK cluster.default Boolean
(experimental) Indicates whether you want to enable or disable the JMX Exporter.default Boolean
(experimental) Indicates whether you want to enable or disable the Prometheus Node Exporter.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getClusterMonitoringLevel
(experimental) Specifies the level of monitoring for the MSK cluster.Default: DEFAULT
-
getEnablePrometheusJmxExporter
(experimental) Indicates whether you want to enable or disable the JMX Exporter.Default: false
-
getEnablePrometheusNodeExporter
(experimental) Indicates whether you want to enable or disable the Prometheus Node Exporter.You can use the Prometheus Node Exporter to get CPU and disk metrics for the broker nodes.
Default: false
-
builder
- Returns:
- a
MonitoringConfiguration.Builder
ofMonitoringConfiguration
-