interface HANAPrometheusExporterProperty
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.ApplicationInsights.CfnApplication.HANAPrometheusExporterProperty |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsapplicationinsights#CfnApplication_HANAPrometheusExporterProperty |
Java | software.amazon.awscdk.services.applicationinsights.CfnApplication.HANAPrometheusExporterProperty |
Python | aws_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
Name | Type | Description |
---|---|---|
agree | boolean | IResolvable | Designates whether you agree to install the HANA DB client. |
hana | string | The HANA database port by which the exporter will query HANA metrics. |
hana | string | The AWS Secrets Manager secret that stores HANA monitoring user credentials. |
hanasid | string | The three-character SAP system ID (SID) of the SAP HANA system. |
prometheus | string | The 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.