Interface CfnApplication.ConfigurationDetailsProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnApplication.ConfigurationDetailsProperty.Jsii$Proxy
- Enclosing class:
CfnApplication
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()))
.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();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnApplication.ConfigurationDetailsPropertystatic final classAn implementation forCfnApplication.ConfigurationDetailsProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default ObjectA list of metrics to monitor for the component.default ObjectA list of alarms to monitor for the component.default ObjectThe HA cluster Prometheus Exporter settings.default ObjectThe HANA DB Prometheus Exporter settings.default ObjectA list of Java metrics to monitor for the component.default ObjectgetLogs()A list of logs to monitor for the component.default ObjectThe NetWeaver Prometheus Exporter Settings.default ObjectA list of processes to monitor for the component.default ObjectThe SQL prometheus exporter settings.default ObjectA list of Windows Events to monitor for the component.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getAlarmMetrics
A list of metrics to monitor for the component.All component types can use
AlarmMetrics.Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnApplication.AlarmMetricProperty>- See Also:
-
getAlarms
A list of alarms to monitor for the component.All component types can use
Alarm.Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnApplication.AlarmProperty>- See Also:
-
getHaClusterPrometheusExporter
The HA cluster Prometheus Exporter settings.Returns union: either
IResolvableorCfnApplication.HAClusterPrometheusExporterProperty- See Also:
-
getHanaPrometheusExporter
The HANA DB Prometheus Exporter settings.Returns union: either
IResolvableorCfnApplication.HANAPrometheusExporterProperty- See Also:
-
getJmxPrometheusExporter
A list of Java metrics to monitor for the component.Returns union: either
IResolvableorCfnApplication.JMXPrometheusExporterProperty- See Also:
-
getLogs
A list of logs to monitor for the component.Only Amazon EC2 instances can use
Logs.Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnApplication.LogProperty>- See Also:
-
getNetWeaverPrometheusExporter
The NetWeaver Prometheus Exporter Settings.Returns union: either
IResolvableorCfnApplication.NetWeaverPrometheusExporterProperty- See Also:
-
getProcesses
A list of processes to monitor for the component.Only Windows EC2 instances can have a processes section.
Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnApplication.ProcessProperty>- See Also:
-
getSqlServerPrometheusExporter
The SQL prometheus exporter settings.Returns union: either
IResolvableorCfnApplication.SQLServerPrometheusExporterProperty- See Also:
-
getWindowsEvents
A list of Windows Events to monitor for the component.Only Amazon EC2 instances running on Windows can use
WindowsEvents.Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnApplication.WindowsEventProperty>- See Also:
-
builder
-