Class CfnApplicationPropsMixin.ComponentMonitoringSettingProperty
The AWS::ApplicationInsights::Application ComponentMonitoringSetting property type defines the monitoring setting of the component.
Inherited Members
Namespace: Amazon.CDK.CfnPropertyMixins.AWS.ApplicationInsights
Assembly: Amazon.CDK.CfnPropertyMixins.dll
Syntax (csharp)
public class CfnApplicationPropsMixin.ComponentMonitoringSettingProperty : CfnApplicationPropsMixin.IComponentMonitoringSettingProperty
Syntax (vb)
Public Class CfnApplicationPropsMixin.ComponentMonitoringSettingProperty Implements CfnApplicationPropsMixin.IComponentMonitoringSettingProperty
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.CfnPropertyMixins.AWS.ApplicationInsights;
var componentMonitoringSettingProperty = new ComponentMonitoringSettingProperty {
ComponentArn = "componentArn",
ComponentConfigurationMode = "componentConfigurationMode",
ComponentName = "componentName",
CustomComponentConfiguration = new ComponentConfigurationProperty {
ConfigurationDetails = new ConfigurationDetailsProperty {
AlarmMetrics = new [] { new AlarmMetricProperty {
AlarmMetricName = "alarmMetricName"
} },
Alarms = new [] { new AlarmProperty {
AlarmName = "alarmName",
Severity = "severity"
} },
HaClusterPrometheusExporter = new HAClusterPrometheusExporterProperty {
PrometheusPort = "prometheusPort"
},
HanaPrometheusExporter = new HANAPrometheusExporterProperty {
AgreeToInstallHanadbClient = false,
HanaPort = "hanaPort",
HanaSecretName = "hanaSecretName",
Hanasid = "hanasid",
PrometheusPort = "prometheusPort"
},
JmxPrometheusExporter = new JMXPrometheusExporterProperty {
HostPort = "hostPort",
Jmxurl = "jmxurl",
PrometheusPort = "prometheusPort"
},
Logs = new [] { new LogProperty {
Encoding = "encoding",
LogGroupName = "logGroupName",
LogPath = "logPath",
LogType = "logType",
PatternSet = "patternSet"
} },
NetWeaverPrometheusExporter = new NetWeaverPrometheusExporterProperty {
InstanceNumbers = new [] { "instanceNumbers" },
PrometheusPort = "prometheusPort",
Sapsid = "sapsid"
},
Processes = new [] { new ProcessProperty {
AlarmMetrics = new [] { new AlarmMetricProperty {
AlarmMetricName = "alarmMetricName"
} },
ProcessName = "processName"
} },
SqlServerPrometheusExporter = new SQLServerPrometheusExporterProperty {
PrometheusPort = "prometheusPort",
SqlSecretName = "sqlSecretName"
},
WindowsEvents = new [] { new WindowsEventProperty {
EventLevels = new [] { "eventLevels" },
EventName = "eventName",
LogGroupName = "logGroupName",
PatternSet = "patternSet"
} }
},
SubComponentTypeConfigurations = new [] { new SubComponentTypeConfigurationProperty {
SubComponentConfigurationDetails = new SubComponentConfigurationDetailsProperty {
AlarmMetrics = new [] { new AlarmMetricProperty {
AlarmMetricName = "alarmMetricName"
} },
Logs = new [] { new LogProperty {
Encoding = "encoding",
LogGroupName = "logGroupName",
LogPath = "logPath",
LogType = "logType",
PatternSet = "patternSet"
} },
Processes = new [] { new ProcessProperty {
AlarmMetrics = new [] { new AlarmMetricProperty {
AlarmMetricName = "alarmMetricName"
} },
ProcessName = "processName"
} },
WindowsEvents = new [] { new WindowsEventProperty {
EventLevels = new [] { "eventLevels" },
EventName = "eventName",
LogGroupName = "logGroupName",
PatternSet = "patternSet"
} }
},
SubComponentType = "subComponentType"
} }
},
DefaultOverwriteComponentConfiguration = new ComponentConfigurationProperty {
ConfigurationDetails = new ConfigurationDetailsProperty {
AlarmMetrics = new [] { new AlarmMetricProperty {
AlarmMetricName = "alarmMetricName"
} },
Alarms = new [] { new AlarmProperty {
AlarmName = "alarmName",
Severity = "severity"
} },
HaClusterPrometheusExporter = new HAClusterPrometheusExporterProperty {
PrometheusPort = "prometheusPort"
},
HanaPrometheusExporter = new HANAPrometheusExporterProperty {
AgreeToInstallHanadbClient = false,
HanaPort = "hanaPort",
HanaSecretName = "hanaSecretName",
Hanasid = "hanasid",
PrometheusPort = "prometheusPort"
},
JmxPrometheusExporter = new JMXPrometheusExporterProperty {
HostPort = "hostPort",
Jmxurl = "jmxurl",
PrometheusPort = "prometheusPort"
},
Logs = new [] { new LogProperty {
Encoding = "encoding",
LogGroupName = "logGroupName",
LogPath = "logPath",
LogType = "logType",
PatternSet = "patternSet"
} },
NetWeaverPrometheusExporter = new NetWeaverPrometheusExporterProperty {
InstanceNumbers = new [] { "instanceNumbers" },
PrometheusPort = "prometheusPort",
Sapsid = "sapsid"
},
Processes = new [] { new ProcessProperty {
AlarmMetrics = new [] { new AlarmMetricProperty {
AlarmMetricName = "alarmMetricName"
} },
ProcessName = "processName"
} },
SqlServerPrometheusExporter = new SQLServerPrometheusExporterProperty {
PrometheusPort = "prometheusPort",
SqlSecretName = "sqlSecretName"
},
WindowsEvents = new [] { new WindowsEventProperty {
EventLevels = new [] { "eventLevels" },
EventName = "eventName",
LogGroupName = "logGroupName",
PatternSet = "patternSet"
} }
},
SubComponentTypeConfigurations = new [] { new SubComponentTypeConfigurationProperty {
SubComponentConfigurationDetails = new SubComponentConfigurationDetailsProperty {
AlarmMetrics = new [] { new AlarmMetricProperty {
AlarmMetricName = "alarmMetricName"
} },
Logs = new [] { new LogProperty {
Encoding = "encoding",
LogGroupName = "logGroupName",
LogPath = "logPath",
LogType = "logType",
PatternSet = "patternSet"
} },
Processes = new [] { new ProcessProperty {
AlarmMetrics = new [] { new AlarmMetricProperty {
AlarmMetricName = "alarmMetricName"
} },
ProcessName = "processName"
} },
WindowsEvents = new [] { new WindowsEventProperty {
EventLevels = new [] { "eventLevels" },
EventName = "eventName",
LogGroupName = "logGroupName",
PatternSet = "patternSet"
} }
},
SubComponentType = "subComponentType"
} }
},
Tier = "tier"
};
Synopsis
Constructors
| ComponentMonitoringSettingProperty() | The |
Properties
| ComponentArn | The ARN of the component. |
| ComponentConfigurationMode | Component monitoring can be configured in one of the following three modes:. |
| ComponentName | The name of the component. |
| CustomComponentConfiguration | Customized monitoring settings. |
| DefaultOverwriteComponentConfiguration | Customized overwrite monitoring settings. |
| Tier | The tier of the application component. |
Constructors
ComponentMonitoringSettingProperty()
The AWS::ApplicationInsights::Application ComponentMonitoringSetting property type defines the monitoring setting of the component.
public ComponentMonitoringSettingProperty()
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.CfnPropertyMixins.AWS.ApplicationInsights;
var componentMonitoringSettingProperty = new ComponentMonitoringSettingProperty {
ComponentArn = "componentArn",
ComponentConfigurationMode = "componentConfigurationMode",
ComponentName = "componentName",
CustomComponentConfiguration = new ComponentConfigurationProperty {
ConfigurationDetails = new ConfigurationDetailsProperty {
AlarmMetrics = new [] { new AlarmMetricProperty {
AlarmMetricName = "alarmMetricName"
} },
Alarms = new [] { new AlarmProperty {
AlarmName = "alarmName",
Severity = "severity"
} },
HaClusterPrometheusExporter = new HAClusterPrometheusExporterProperty {
PrometheusPort = "prometheusPort"
},
HanaPrometheusExporter = new HANAPrometheusExporterProperty {
AgreeToInstallHanadbClient = false,
HanaPort = "hanaPort",
HanaSecretName = "hanaSecretName",
Hanasid = "hanasid",
PrometheusPort = "prometheusPort"
},
JmxPrometheusExporter = new JMXPrometheusExporterProperty {
HostPort = "hostPort",
Jmxurl = "jmxurl",
PrometheusPort = "prometheusPort"
},
Logs = new [] { new LogProperty {
Encoding = "encoding",
LogGroupName = "logGroupName",
LogPath = "logPath",
LogType = "logType",
PatternSet = "patternSet"
} },
NetWeaverPrometheusExporter = new NetWeaverPrometheusExporterProperty {
InstanceNumbers = new [] { "instanceNumbers" },
PrometheusPort = "prometheusPort",
Sapsid = "sapsid"
},
Processes = new [] { new ProcessProperty {
AlarmMetrics = new [] { new AlarmMetricProperty {
AlarmMetricName = "alarmMetricName"
} },
ProcessName = "processName"
} },
SqlServerPrometheusExporter = new SQLServerPrometheusExporterProperty {
PrometheusPort = "prometheusPort",
SqlSecretName = "sqlSecretName"
},
WindowsEvents = new [] { new WindowsEventProperty {
EventLevels = new [] { "eventLevels" },
EventName = "eventName",
LogGroupName = "logGroupName",
PatternSet = "patternSet"
} }
},
SubComponentTypeConfigurations = new [] { new SubComponentTypeConfigurationProperty {
SubComponentConfigurationDetails = new SubComponentConfigurationDetailsProperty {
AlarmMetrics = new [] { new AlarmMetricProperty {
AlarmMetricName = "alarmMetricName"
} },
Logs = new [] { new LogProperty {
Encoding = "encoding",
LogGroupName = "logGroupName",
LogPath = "logPath",
LogType = "logType",
PatternSet = "patternSet"
} },
Processes = new [] { new ProcessProperty {
AlarmMetrics = new [] { new AlarmMetricProperty {
AlarmMetricName = "alarmMetricName"
} },
ProcessName = "processName"
} },
WindowsEvents = new [] { new WindowsEventProperty {
EventLevels = new [] { "eventLevels" },
EventName = "eventName",
LogGroupName = "logGroupName",
PatternSet = "patternSet"
} }
},
SubComponentType = "subComponentType"
} }
},
DefaultOverwriteComponentConfiguration = new ComponentConfigurationProperty {
ConfigurationDetails = new ConfigurationDetailsProperty {
AlarmMetrics = new [] { new AlarmMetricProperty {
AlarmMetricName = "alarmMetricName"
} },
Alarms = new [] { new AlarmProperty {
AlarmName = "alarmName",
Severity = "severity"
} },
HaClusterPrometheusExporter = new HAClusterPrometheusExporterProperty {
PrometheusPort = "prometheusPort"
},
HanaPrometheusExporter = new HANAPrometheusExporterProperty {
AgreeToInstallHanadbClient = false,
HanaPort = "hanaPort",
HanaSecretName = "hanaSecretName",
Hanasid = "hanasid",
PrometheusPort = "prometheusPort"
},
JmxPrometheusExporter = new JMXPrometheusExporterProperty {
HostPort = "hostPort",
Jmxurl = "jmxurl",
PrometheusPort = "prometheusPort"
},
Logs = new [] { new LogProperty {
Encoding = "encoding",
LogGroupName = "logGroupName",
LogPath = "logPath",
LogType = "logType",
PatternSet = "patternSet"
} },
NetWeaverPrometheusExporter = new NetWeaverPrometheusExporterProperty {
InstanceNumbers = new [] { "instanceNumbers" },
PrometheusPort = "prometheusPort",
Sapsid = "sapsid"
},
Processes = new [] { new ProcessProperty {
AlarmMetrics = new [] { new AlarmMetricProperty {
AlarmMetricName = "alarmMetricName"
} },
ProcessName = "processName"
} },
SqlServerPrometheusExporter = new SQLServerPrometheusExporterProperty {
PrometheusPort = "prometheusPort",
SqlSecretName = "sqlSecretName"
},
WindowsEvents = new [] { new WindowsEventProperty {
EventLevels = new [] { "eventLevels" },
EventName = "eventName",
LogGroupName = "logGroupName",
PatternSet = "patternSet"
} }
},
SubComponentTypeConfigurations = new [] { new SubComponentTypeConfigurationProperty {
SubComponentConfigurationDetails = new SubComponentConfigurationDetailsProperty {
AlarmMetrics = new [] { new AlarmMetricProperty {
AlarmMetricName = "alarmMetricName"
} },
Logs = new [] { new LogProperty {
Encoding = "encoding",
LogGroupName = "logGroupName",
LogPath = "logPath",
LogType = "logType",
PatternSet = "patternSet"
} },
Processes = new [] { new ProcessProperty {
AlarmMetrics = new [] { new AlarmMetricProperty {
AlarmMetricName = "alarmMetricName"
} },
ProcessName = "processName"
} },
WindowsEvents = new [] { new WindowsEventProperty {
EventLevels = new [] { "eventLevels" },
EventName = "eventName",
LogGroupName = "logGroupName",
PatternSet = "patternSet"
} }
},
SubComponentType = "subComponentType"
} }
},
Tier = "tier"
};
Properties
ComponentArn
The ARN of the component.
public string? ComponentArn { get; set; }
Property Value
Remarks
Either the component ARN or the component name is required.
ComponentConfigurationMode
Component monitoring can be configured in one of the following three modes:.
public string? ComponentConfigurationMode { get; set; }
Property Value
Remarks
ComponentName
The name of the component.
public string? ComponentName { get; set; }
Property Value
Remarks
Either the component ARN or the component name is required.
CustomComponentConfiguration
Customized monitoring settings.
public object? CustomComponentConfiguration { get; set; }
Property Value
Remarks
Required if CUSTOM mode is configured in ComponentConfigurationMode .
Type union: either IResolvable or CfnApplicationPropsMixin.IComponentConfigurationProperty
DefaultOverwriteComponentConfiguration
Customized overwrite monitoring settings.
public object? DefaultOverwriteComponentConfiguration { get; set; }
Property Value
Remarks
Required if CUSTOM mode is configured in ComponentConfigurationMode .
Type union: either IResolvable or CfnApplicationPropsMixin.IComponentConfigurationProperty
Tier
The tier of the application component.
public string? Tier { get; set; }
Property Value
Remarks
Supported tiers include DOT_NET_CORE , DOT_NET_WORKER , DOT_NET_WEB , SQL_SERVER , SQL_SERVER_ALWAYSON_AVAILABILITY_GROUP , SQL_SERVER_FAILOVER_CLUSTER_INSTANCE , MYSQL , POSTGRESQL , JAVA_JMX , ORACLE , SAP_HANA_MULTI_NODE , SAP_HANA_SINGLE_NODE , SAP_HANA_HIGH_AVAILABILITY , SHAREPOINT . ACTIVE_DIRECTORY , and DEFAULT .