Class CfnApplication.HANAPrometheusExporterProperty
The AWS::ApplicationInsights::Application HANAPrometheusExporter
property type defines the HANA DB Prometheus Exporter settings.
Inheritance
Namespace: Amazon.CDK.AWS.ApplicationInsights
Assembly: Amazon.CDK.AWS.ApplicationInsights.dll
Syntax (csharp)
public class HANAPrometheusExporterProperty : Object, CfnApplication.IHANAPrometheusExporterProperty
Syntax (vb)
Public Class HANAPrometheusExporterProperty
Inherits Object
Implements CfnApplication.IHANAPrometheusExporterProperty
Remarks
For more information, see the component configuration in the CloudWatch Application Insights documentation.
ExampleMetadata: fixture=_generated
Examples
// 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 hANAPrometheusExporterProperty = new HANAPrometheusExporterProperty {
AgreeToInstallHanadbClient = false,
HanaPort = "hanaPort",
HanaSecretName = "hanaSecretName",
Hanasid = "hanasid",
// the properties below are optional
PrometheusPort = "prometheusPort"
};
Synopsis
Constructors
HANAPrometheusExporterProperty() |
Properties
AgreeToInstallHanadbClient | Designates whether you agree to install the HANA DB client. |
HanaPort | The HANA database port by which the exporter will query HANA metrics. |
HanaSecretName | The AWS Secrets Manager secret that stores HANA monitoring user credentials. |
Hanasid | The three-character SAP system ID (SID) of the SAP HANA system. |
PrometheusPort | The target port to which Prometheus sends metrics. |
Constructors
HANAPrometheusExporterProperty()
public HANAPrometheusExporterProperty()
Properties
AgreeToInstallHanadbClient
Designates whether you agree to install the HANA DB client.
public object AgreeToInstallHanadbClient { get; set; }
Property Value
System.Object
Remarks
HanaPort
The HANA database port by which the exporter will query HANA metrics.
public string HanaPort { get; set; }
Property Value
System.String
Remarks
HanaSecretName
The AWS Secrets Manager secret that stores HANA monitoring user credentials.
public string HanaSecretName { get; set; }
Property Value
System.String
Remarks
The HANA Prometheus exporter uses these credentials to connect to the database and query HANA metrics.
Hanasid
The three-character SAP system ID (SID) of the SAP HANA system.
public string Hanasid { get; set; }
Property Value
System.String
Remarks
PrometheusPort
The target port to which Prometheus sends metrics.
public string PrometheusPort { get; set; }
Property Value
System.String
Remarks
If not specified, the default port 9668 is used.