# NetWeaverPrometheusExporterProperty

The NetWeaver Prometheus Exporter Settings.

- Source: Generated at build time
- Type last changed: v2.159.0 · 19 Sep 2024

## Example

TypeScript:

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_applicationinsights as applicationinsights } from 'aws-cdk-lib';
const netWeaverPrometheusExporterProperty: applicationinsights.CfnApplication.NetWeaverPrometheusExporterProperty = {
  instanceNumbers: ['instanceNumbers'],
  sapsid: 'sapsid',

  // the properties below are optional
  prometheusPort: 'prometheusPort',
};
```

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_applicationinsights as applicationinsights

net_weaver_prometheus_exporter_property = applicationinsights.CfnApplication.NetWeaverPrometheusExporterProperty(
    instance_numbers=["instanceNumbers"],
    sapsid="sapsid",

    # the properties below are optional
    prometheus_port="prometheusPort"
)
```

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.applicationinsights.*;

NetWeaverPrometheusExporterProperty netWeaverPrometheusExporterProperty = NetWeaverPrometheusExporterProperty.builder()
        .instanceNumbers(List.of("instanceNumbers"))
        .sapsid("sapsid")

        // the properties below are optional
        .prometheusPort("prometheusPort")
        .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.ApplicationInsights;

var netWeaverPrometheusExporterProperty = new NetWeaverPrometheusExporterProperty {
    InstanceNumbers = new [] { "instanceNumbers" },
    Sapsid = "sapsid",

    // the properties below are optional
    PrometheusPort = "prometheusPort"
};
```

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"

netWeaverPrometheusExporterProperty := &NetWeaverPrometheusExporterProperty{
	InstanceNumbers: []*string{
		jsii.String("instanceNumbers"),
	},
	Sapsid: jsii.String("sapsid"),

	// the properties below are optional
	PrometheusPort: jsii.String("prometheusPort"),
}
```

## Properties

- `instanceNumbers`: string[] (required) — SAP instance numbers for ASCS, ERS, and App Servers.

- `prometheusPort`: string — Prometheus exporter port.

- `sapsid`: string (required) — SAP NetWeaver SID.
