Interface CfnApplication.JMXPrometheusExporterProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnApplication.JMXPrometheusExporterProperty.Jsii$Proxy
- Enclosing class:
CfnApplication
@Stability(Stable)
public static interface CfnApplication.JMXPrometheusExporterProperty
extends software.amazon.jsii.JsiiSerializable
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 software.amazon.awscdk.services.applicationinsights.*;
JMXPrometheusExporterProperty jMXPrometheusExporterProperty = JMXPrometheusExporterProperty.builder()
.hostPort("hostPort")
.jmxurl("jmxurl")
.prometheusPort("prometheusPort")
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnApplication.JMXPrometheusExporterPropertystatic final classAn implementation forCfnApplication.JMXPrometheusExporterProperty -
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getHostPort
The host and port to connect to through remote JMX.Only one of
jmxURLandhostPortcan be specified.- See Also:
-
getJmxurl
The complete JMX URL to connect to.- See Also:
-
getPrometheusPort
The target port to send Prometheus metrics to.If not specified, the default port
9404is used.- See Also:
-
builder
-