Interface CfnApplication.IConfigurationDetailsProperty
The AWS::ApplicationInsights::Application ConfigurationDetails
property type specifies the configuration settings.
Namespace: Amazon.CDK.AWS.ApplicationInsights
Assembly: Amazon.CDK.AWS.ApplicationInsights.dll
Syntax (csharp)
public interface IConfigurationDetailsProperty
Syntax (vb)
Public Interface IConfigurationDetailsProperty
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.ApplicationInsights;
var configurationDetailsProperty = new ConfigurationDetailsProperty {
AlarmMetrics = new [] { new AlarmMetricProperty {
AlarmMetricName = "alarmMetricName"
} },
Alarms = new [] { new AlarmProperty {
AlarmName = "alarmName",
// the properties below are optional
Severity = "severity"
} },
HaClusterPrometheusExporter = new HAClusterPrometheusExporterProperty {
PrometheusPort = "prometheusPort"
},
HanaPrometheusExporter = new HANAPrometheusExporterProperty {
AgreeToInstallHanadbClient = false,
HanaPort = "hanaPort",
HanaSecretName = "hanaSecretName",
Hanasid = "hanasid",
// the properties below are optional
PrometheusPort = "prometheusPort"
},
JmxPrometheusExporter = new JMXPrometheusExporterProperty {
HostPort = "hostPort",
Jmxurl = "jmxurl",
PrometheusPort = "prometheusPort"
},
Logs = new [] { new LogProperty {
LogType = "logType",
// the properties below are optional
Encoding = "encoding",
LogGroupName = "logGroupName",
LogPath = "logPath",
PatternSet = "patternSet"
} },
WindowsEvents = new [] { new WindowsEventProperty {
EventLevels = new [] { "eventLevels" },
EventName = "eventName",
LogGroupName = "logGroupName",
// the properties below are optional
PatternSet = "patternSet"
} }
};
Synopsis
Properties
AlarmMetrics | A list of metrics to monitor for the component. |
Alarms | A list of alarms to monitor for the component. |
HaClusterPrometheusExporter | The HA cluster Prometheus Exporter settings. |
HanaPrometheusExporter | The HANA DB Prometheus Exporter settings. |
JmxPrometheusExporter | A list of Java metrics to monitor for the component. |
Logs | A list of logs to monitor for the component. |
WindowsEvents | A list of Windows Events to monitor for the component. |
Properties
AlarmMetrics
A list of metrics to monitor for the component.
virtual object AlarmMetrics { get; }
Property Value
System.Object
Remarks
Alarms
A list of alarms to monitor for the component.
virtual object Alarms { get; }
Property Value
System.Object
Remarks
HaClusterPrometheusExporter
The HA cluster Prometheus Exporter settings.
virtual object HaClusterPrometheusExporter { get; }
Property Value
System.Object
Remarks
HanaPrometheusExporter
The HANA DB Prometheus Exporter settings.
virtual object HanaPrometheusExporter { get; }
Property Value
System.Object
Remarks
JmxPrometheusExporter
A list of Java metrics to monitor for the component.
virtual object JmxPrometheusExporter { get; }
Property Value
System.Object
Remarks
Logs
A list of logs to monitor for the component.
virtual object Logs { get; }
Property Value
System.Object
Remarks
WindowsEvents
A list of Windows Events to monitor for the component.
virtual object WindowsEvents { get; }
Property Value
System.Object
Remarks
Only Amazon EC2 instances running on Windows can use WindowsEvents
.