@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-07T23:47:11.377Z") @Stability(value=Experimental) public interface MonitoringConfiguration extends software.amazon.jsii.JsiiSerializable
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.*;
MonitoringConfiguration monitoringConfiguration = MonitoringConfiguration.builder()
.clusterMonitoringLevel(ClusterMonitoringLevel.DEFAULT)
.enablePrometheusJmxExporter(false)
.enablePrometheusNodeExporter(false)
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
MonitoringConfiguration.Builder
A builder for
MonitoringConfiguration |
static class |
MonitoringConfiguration.Jsii$Proxy
An implementation for
MonitoringConfiguration |
| Modifier and Type | Method and Description |
|---|---|
static MonitoringConfiguration.Builder |
builder() |
default ClusterMonitoringLevel |
getClusterMonitoringLevel()
(experimental) Specifies the level of monitoring for the MSK cluster.
|
default Boolean |
getEnablePrometheusJmxExporter()
(experimental) Indicates whether you want to enable or disable the JMX Exporter.
|
default Boolean |
getEnablePrometheusNodeExporter()
(experimental) Indicates whether you want to enable or disable the Prometheus Node Exporter.
|
@Stability(value=Experimental) @Nullable default ClusterMonitoringLevel getClusterMonitoringLevel()
Default: DEFAULT
@Stability(value=Experimental) @Nullable default Boolean getEnablePrometheusJmxExporter()
Default: false
@Stability(value=Experimental) @Nullable default Boolean getEnablePrometheusNodeExporter()
You can use the Prometheus Node Exporter to get CPU and disk metrics for the broker nodes.
Default: false
@Stability(value=Experimental) static MonitoringConfiguration.Builder builder()
MonitoringConfiguration.Builder of MonitoringConfigurationCopyright © 2022. All rights reserved.