Interface CfnApplication.ISubComponentConfigurationDetailsProperty
The AWS::ApplicationInsights::Application SubComponentConfigurationDetails
property type specifies the configuration settings of the sub-components.
Namespace: Amazon.CDK.AWS.ApplicationInsights
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface ISubComponentConfigurationDetailsProperty
Syntax (vb)
Public Interface ISubComponentConfigurationDetailsProperty
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 subComponentConfigurationDetailsProperty = new SubComponentConfigurationDetailsProperty {
AlarmMetrics = new [] { new AlarmMetricProperty {
AlarmMetricName = "alarmMetricName"
} },
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. |
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
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
.