@Stability(value=Stable)
public static interface CfnApplication.HANAPrometheusExporterProperty
extends software.amazon.jsii.JsiiSerializable
For more information, see the component configuration in the CloudWatch Application Insights documentation.
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.applicationinsights.*;
HANAPrometheusExporterProperty hANAPrometheusExporterProperty = HANAPrometheusExporterProperty.builder()
.agreeToInstallHanadbClient(false)
.hanaPort("hanaPort")
.hanaSecretName("hanaSecretName")
.hanasid("hanasid")
// the properties below are optional
.prometheusPort("prometheusPort")
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnApplication.HANAPrometheusExporterProperty.Builder
A builder for
CfnApplication.HANAPrometheusExporterProperty |
static class |
CfnApplication.HANAPrometheusExporterProperty.Jsii$Proxy
An implementation for
CfnApplication.HANAPrometheusExporterProperty |
| Modifier and Type | Method and Description |
|---|---|
static CfnApplication.HANAPrometheusExporterProperty.Builder |
builder() |
Object |
getAgreeToInstallHanadbClient()
Designates whether you agree to install the HANA DB client.
|
String |
getHanaPort()
The HANA database port by which the exporter will query HANA metrics.
|
String |
getHanaSecretName()
The AWS Secrets Manager secret that stores HANA monitoring user credentials.
|
String |
getHanasid()
The three-character SAP system ID (SID) of the SAP HANA system.
|
default String |
getPrometheusPort()
The target port to which Prometheus sends metrics.
|
@Stability(value=Stable) @NotNull Object getAgreeToInstallHanadbClient()
@Stability(value=Stable) @NotNull String getHanaPort()
@Stability(value=Stable) @NotNull String getHanaSecretName()
The HANA Prometheus exporter uses these credentials to connect to the database and query HANA metrics.
@Stability(value=Stable) @NotNull String getHanasid()
@Stability(value=Stable) @Nullable default String getPrometheusPort()
If not specified, the default port 9668 is used.
@Stability(value=Stable) static CfnApplication.HANAPrometheusExporterProperty.Builder builder()
Copyright © 2022. All rights reserved.