Skip to content
v2.278.0

NetWeaverPrometheusExporterProperty Struct ​

The NetWeaver Prometheus Exporter Settings.

Example ​

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
# 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
// 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();
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"
};
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 ​

instanceNumbersstring[]instance_numberstyping.List[str]instanceNumbersList<String>InstanceNumbersstring[]InstanceNumbers*[]*string required #
SAP instance numbers for ASCS, ERS, and App Servers.
prometheusPortoptionalstringprometheus_portoptionalstrprometheusPortoptionalStringPrometheusPortoptionalstringPrometheusPortoptional*string #
Prometheus exporter port.
sapsidstringsapsidstrsapsidStringSapsidstringSapsid*string required #
SAP NetWeaver SID.