aws-cdk-lib.aws_applicationinsights.CfnApplication.HANAPrometheusExporterProperty

interface HANAPrometheusExporterProperty

LanguageType name
.NETAmazon.CDK.AWS.ApplicationInsights.CfnApplication.HANAPrometheusExporterProperty
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awsapplicationinsights#CfnApplication_HANAPrometheusExporterProperty
Javasoftware.amazon.awscdk.services.applicationinsights.CfnApplication.HANAPrometheusExporterProperty
Pythonaws_cdk.aws_applicationinsights.CfnApplication.HANAPrometheusExporterProperty
TypeScript aws-cdk-lib » aws_applicationinsights » CfnApplication » HANAPrometheusExporterProperty

The AWS::ApplicationInsights::Application HANAPrometheusExporter property type defines the HANA DB Prometheus Exporter settings.

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 { aws_applicationinsights as applicationinsights } from 'aws-cdk-lib';
const hANAPrometheusExporterProperty: applicationinsights.CfnApplication.HANAPrometheusExporterProperty = {
  agreeToInstallHanadbClient: false,
  hanaPort: 'hanaPort',
  hanaSecretName: 'hanaSecretName',
  hanasid: 'hanasid',

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

Properties

NameTypeDescription
agreeToInstallHanadbClientboolean | IResolvableDesignates whether you agree to install the HANA DB client.
hanaPortstringThe HANA database port by which the exporter will query HANA metrics.
hanaSecretNamestringThe AWS Secrets Manager secret that stores HANA monitoring user credentials.
hanasidstringThe three-character SAP system ID (SID) of the SAP HANA system.
prometheusPort?stringThe target port to which Prometheus sends metrics.

agreeToInstallHanadbClient

Type: boolean | IResolvable

Designates whether you agree to install the HANA DB client.


hanaPort

Type: string

The HANA database port by which the exporter will query HANA metrics.


hanaSecretName

Type: string

The AWS Secrets Manager secret that stores HANA monitoring user credentials.

The HANA Prometheus exporter uses these credentials to connect to the database and query HANA metrics.


hanasid

Type: string

The three-character SAP system ID (SID) of the SAP HANA system.


prometheusPort?

Type: string (optional)

The target port to which Prometheus sends metrics.

If not specified, the default port 9668 is used.