# PrometheusProperty

Prometheus settings for open monitoring.

- Source: Generated at build time
- Type last changed: v2.93.0 · 23 Aug 2023

## Example

TypeScript:

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_msk as msk } from 'aws-cdk-lib';
const prometheusProperty: msk.CfnCluster.PrometheusProperty = {
  jmxExporter: {
    enabledInBroker: false,
  },
  nodeExporter: {
    enabledInBroker: false,
  },
};
```

Python:

```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_msk as msk

prometheus_property = msk.CfnCluster.PrometheusProperty(
    jmx_exporter=msk.CfnCluster.JmxExporterProperty(
        enabled_in_broker=False
    ),
    node_exporter=msk.CfnCluster.NodeExporterProperty(
        enabled_in_broker=False
    )
)
```

Java:

```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.msk.*;

PrometheusProperty prometheusProperty = PrometheusProperty.builder()
        .jmxExporter(JmxExporterProperty.builder()
                .enabledInBroker(false)
                .build())
        .nodeExporter(NodeExporterProperty.builder()
                .enabledInBroker(false)
                .build())
        .build();
```

C# / .NET:

```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.MSK;

var prometheusProperty = new PrometheusProperty {
    JmxExporter = new JmxExporterProperty {
        EnabledInBroker = false
    },
    NodeExporter = new NodeExporterProperty {
        EnabledInBroker = false
    }
};
```

Golang:

```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"

prometheusProperty := &PrometheusProperty{
	JmxExporter: &JmxExporterProperty{
		EnabledInBroker: jsii.Boolean(false),
	},
	NodeExporter: &NodeExporterProperty{
		EnabledInBroker: jsii.Boolean(false),
	},
}
```

## Properties

- `jmxExporter`: [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnCluster.JmxExporterProperty](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_msk.CfnCluster.JmxExporterProperty.html) — Indicates whether you want to enable or disable the JMX Exporter.

- `nodeExporter`: [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnCluster.NodeExporterProperty](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_msk.CfnCluster.NodeExporterProperty.html) — Indicates whether you want to enable or disable the Node Exporter.
