aws-cdk-lib.aws_applicationinsights.CfnApplication.JMXPrometheusExporterProperty

interface JMXPrometheusExporterProperty

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

The AWS::ApplicationInsights::Application JMXPrometheusExporter property type defines the JMXPrometheus Exporter configuration.

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 jMXPrometheusExporterProperty: applicationinsights.CfnApplication.JMXPrometheusExporterProperty = {
  hostPort: 'hostPort',
  jmxurl: 'jmxurl',
  prometheusPort: 'prometheusPort',
};

Properties

NameTypeDescription
hostPort?stringThe host and port to connect to through remote JMX.
jmxurl?stringThe complete JMX URL to connect to.
prometheusPort?stringThe target port to send Prometheus metrics to.

hostPort?

Type: string (optional)

The host and port to connect to through remote JMX.

Only one of jmxURL and hostPort can be specified.


jmxurl?

Type: string (optional)

The complete JMX URL to connect to.


prometheusPort?

Type: string (optional)

The target port to send Prometheus metrics to.

If not specified, the default port 9404 is used.