Interface CfnApplication.ComponentMonitoringSettingProperty

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

@Stability(Stable) public static interface CfnApplication.ComponentMonitoringSettingProperty extends software.amazon.jsii.JsiiSerializable
The AWS::ApplicationInsights::Application ComponentMonitoringSetting property type defines the monitoring setting of the component.

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.*;
 ComponentMonitoringSettingProperty componentMonitoringSettingProperty = ComponentMonitoringSettingProperty.builder()
         .componentConfigurationMode("componentConfigurationMode")
         .tier("tier")
         // the properties below are optional
         .componentArn("componentArn")
         .componentName("componentName")
         .customComponentConfiguration(ComponentConfigurationProperty.builder()
                 .configurationDetails(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()))
                         .netWeaverPrometheusExporter(NetWeaverPrometheusExporterProperty.builder()
                                 .instanceNumbers(List.of("instanceNumbers"))
                                 .sapsid("sapsid")
                                 // the properties below are optional
                                 .prometheusPort("prometheusPort")
                                 .build())
                         .processes(List.of(ProcessProperty.builder()
                                 .alarmMetrics(List.of(AlarmMetricProperty.builder()
                                         .alarmMetricName("alarmMetricName")
                                         .build()))
                                 .processName("processName")
                                 .build()))
                         .sqlServerPrometheusExporter(SQLServerPrometheusExporterProperty.builder()
                                 .prometheusPort("prometheusPort")
                                 .sqlSecretName("sqlSecretName")
                                 .build())
                         .windowsEvents(List.of(WindowsEventProperty.builder()
                                 .eventLevels(List.of("eventLevels"))
                                 .eventName("eventName")
                                 .logGroupName("logGroupName")
                                 // the properties below are optional
                                 .patternSet("patternSet")
                                 .build()))
                         .build())
                 .subComponentTypeConfigurations(List.of(SubComponentTypeConfigurationProperty.builder()
                         .subComponentConfigurationDetails(SubComponentConfigurationDetailsProperty.builder()
                                 .alarmMetrics(List.of(AlarmMetricProperty.builder()
                                         .alarmMetricName("alarmMetricName")
                                         .build()))
                                 .logs(List.of(LogProperty.builder()
                                         .logType("logType")
                                         // the properties below are optional
                                         .encoding("encoding")
                                         .logGroupName("logGroupName")
                                         .logPath("logPath")
                                         .patternSet("patternSet")
                                         .build()))
                                 .processes(List.of(ProcessProperty.builder()
                                         .alarmMetrics(List.of(AlarmMetricProperty.builder()
                                                 .alarmMetricName("alarmMetricName")
                                                 .build()))
                                         .processName("processName")
                                         .build()))
                                 .windowsEvents(List.of(WindowsEventProperty.builder()
                                         .eventLevels(List.of("eventLevels"))
                                         .eventName("eventName")
                                         .logGroupName("logGroupName")
                                         // the properties below are optional
                                         .patternSet("patternSet")
                                         .build()))
                                 .build())
                         .subComponentType("subComponentType")
                         .build()))
                 .build())
         .defaultOverwriteComponentConfiguration(ComponentConfigurationProperty.builder()
                 .configurationDetails(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()))
                         .netWeaverPrometheusExporter(NetWeaverPrometheusExporterProperty.builder()
                                 .instanceNumbers(List.of("instanceNumbers"))
                                 .sapsid("sapsid")
                                 // the properties below are optional
                                 .prometheusPort("prometheusPort")
                                 .build())
                         .processes(List.of(ProcessProperty.builder()
                                 .alarmMetrics(List.of(AlarmMetricProperty.builder()
                                         .alarmMetricName("alarmMetricName")
                                         .build()))
                                 .processName("processName")
                                 .build()))
                         .sqlServerPrometheusExporter(SQLServerPrometheusExporterProperty.builder()
                                 .prometheusPort("prometheusPort")
                                 .sqlSecretName("sqlSecretName")
                                 .build())
                         .windowsEvents(List.of(WindowsEventProperty.builder()
                                 .eventLevels(List.of("eventLevels"))
                                 .eventName("eventName")
                                 .logGroupName("logGroupName")
                                 // the properties below are optional
                                 .patternSet("patternSet")
                                 .build()))
                         .build())
                 .subComponentTypeConfigurations(List.of(SubComponentTypeConfigurationProperty.builder()
                         .subComponentConfigurationDetails(SubComponentConfigurationDetailsProperty.builder()
                                 .alarmMetrics(List.of(AlarmMetricProperty.builder()
                                         .alarmMetricName("alarmMetricName")
                                         .build()))
                                 .logs(List.of(LogProperty.builder()
                                         .logType("logType")
                                         // the properties below are optional
                                         .encoding("encoding")
                                         .logGroupName("logGroupName")
                                         .logPath("logPath")
                                         .patternSet("patternSet")
                                         .build()))
                                 .processes(List.of(ProcessProperty.builder()
                                         .alarmMetrics(List.of(AlarmMetricProperty.builder()
                                                 .alarmMetricName("alarmMetricName")
                                                 .build()))
                                         .processName("processName")
                                         .build()))
                                 .windowsEvents(List.of(WindowsEventProperty.builder()
                                         .eventLevels(List.of("eventLevels"))
                                         .eventName("eventName")
                                         .logGroupName("logGroupName")
                                         // the properties below are optional
                                         .patternSet("patternSet")
                                         .build()))
                                 .build())
                         .subComponentType("subComponentType")
                         .build()))
                 .build())
         .build();
 

See Also: