aws-cdk-lib.aws_applicationinsights.CfnApplication.HAClusterPrometheusExporterProperty

interface HAClusterPrometheusExporterProperty

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

The AWS::ApplicationInsights::Application HAClusterPrometheusExporter property type defines the HA cluster 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 hAClusterPrometheusExporterProperty: applicationinsights.CfnApplication.HAClusterPrometheusExporterProperty = {
  prometheusPort: 'prometheusPort',
};

Properties

NameTypeDescription
prometheusPort?stringThe target port to which Prometheus sends metrics.

prometheusPort?

Type: string (optional)

The target port to which Prometheus sends metrics.

If not specified, the default port 9668 is used.