Interface CfnApplication.ConfigurationDetailsProperty

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
CfnApplication.ConfigurationDetailsProperty.Jsii$Proxy
Enclosing class:
CfnApplication

@Stability(Stable) public static interface CfnApplication.ConfigurationDetailsProperty extends software.amazon.jsii.JsiiSerializable
The AWS::ApplicationInsights::Application ConfigurationDetails property type specifies the configuration settings.

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.*;
 ConfigurationDetailsProperty configurationDetailsProperty = ConfigurationDetailsProperty.builder()
         .alarmMetrics(List.of(AlarmMetricProperty.builder()
                 .alarmMetricName("alarmMetricName")
                 .build()))
         .alarms(List.of(AlarmProperty.builder()
                 .alarmName("alarmName")
                 // the properties below are optional
                 .severity("severity")
                 .build()))
         .haClusterPrometheusExporter(HAClusterPrometheusExporterProperty.builder()
                 .prometheusPort("prometheusPort")
                 .build())
         .hanaPrometheusExporter(HANAPrometheusExporterProperty.builder()
                 .agreeToInstallHanadbClient(false)
                 .hanaPort("hanaPort")
                 .hanaSecretName("hanaSecretName")
                 .hanasid("hanasid")
                 // the properties below are optional
                 .prometheusPort("prometheusPort")
                 .build())
         .jmxPrometheusExporter(JMXPrometheusExporterProperty.builder()
                 .hostPort("hostPort")
                 .jmxurl("jmxurl")
                 .prometheusPort("prometheusPort")
                 .build())
         .logs(List.of(LogProperty.builder()
                 .logType("logType")
                 // the properties below are optional
                 .encoding("encoding")
                 .logGroupName("logGroupName")
                 .logPath("logPath")
                 .patternSet("patternSet")
                 .build()))
         .windowsEvents(List.of(WindowsEventProperty.builder()
                 .eventLevels(List.of("eventLevels"))
                 .eventName("eventName")
                 .logGroupName("logGroupName")
                 // the properties below are optional
                 .patternSet("patternSet")
                 .build()))
         .build();
 
  • Method Details

    • getAlarmMetrics

      @Stability(Stable) @Nullable default Object getAlarmMetrics()
      A list of metrics to monitor for the component.

      All component types can use AlarmMetrics .

    • getAlarms

      @Stability(Stable) @Nullable default Object getAlarms()
      A list of alarms to monitor for the component.

      All component types can use Alarm .

    • getHaClusterPrometheusExporter

      @Stability(Stable) @Nullable default Object getHaClusterPrometheusExporter()
      The HA cluster Prometheus Exporter settings.
    • getHanaPrometheusExporter

      @Stability(Stable) @Nullable default Object getHanaPrometheusExporter()
      The HANA DB Prometheus Exporter settings.
    • getJmxPrometheusExporter

      @Stability(Stable) @Nullable default Object getJmxPrometheusExporter()
      A list of Java metrics to monitor for the component.
    • getLogs

      @Stability(Stable) @Nullable default Object getLogs()
      A list of logs to monitor for the component.

      Only Amazon EC2 instances can use Logs .

    • getWindowsEvents

      @Stability(Stable) @Nullable default Object getWindowsEvents()
      A list of Windows Events to monitor for the component.

      Only Amazon EC2 instances running on Windows can use WindowsEvents .

    • builder

      @Stability(Stable) static CfnApplication.ConfigurationDetailsProperty.Builder builder()
      Returns:
      a CfnApplication.ConfigurationDetailsProperty.Builder of CfnApplication.ConfigurationDetailsProperty