io.burkard.cdk.services.msk.cfnCluster.PrometheusProperty.scala Maven / Gradle / Ivy
The newest version!
package io.burkard.cdk.services.msk.cfnCluster
@SuppressWarnings(Array("org.wartremover.warts.DefaultArguments", "org.wartremover.warts.Null", "DisableSyntax.null"))
object PrometheusProperty {
def apply(
jmxExporter: Option[software.amazon.awscdk.services.msk.CfnCluster.JmxExporterProperty] = None,
nodeExporter: Option[software.amazon.awscdk.services.msk.CfnCluster.NodeExporterProperty] = None
): software.amazon.awscdk.services.msk.CfnCluster.PrometheusProperty =
(new software.amazon.awscdk.services.msk.CfnCluster.PrometheusProperty.Builder)
.jmxExporter(jmxExporter.orNull)
.nodeExporter(nodeExporter.orNull)
.build()
}