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();
 
  • Method Details

    • getClusterMonitoringLevel

      @Stability(Experimental) @Nullable default ClusterMonitoringLevel getClusterMonitoringLevel()
      (experimental) Specifies the level of monitoring for the MSK cluster.

      Default: DEFAULT

    • getEnablePrometheusJmxExporter

      @Stability(Experimental) @Nullable default Boolean getEnablePrometheusJmxExporter()
      (experimental) Indicates whether you want to enable or disable the JMX Exporter.

      Default: false

    • getEnablePrometheusNodeExporter

      @Stability(Experimental) @Nullable default Boolean 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

      @Stability(Experimental) static MonitoringConfiguration.Builder builder()
      Returns:
      a MonitoringConfiguration.Builder of MonitoringConfiguration