Class CfnApplication.SubComponentConfigurationDetailsProperty
The AWS::ApplicationInsights::Application SubComponentConfigurationDetails
property type specifies the configuration settings of the sub-components.
Inheritance
System.Object
CfnApplication.SubComponentConfigurationDetailsProperty
Namespace: Amazon.CDK.AWS.ApplicationInsights
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class SubComponentConfigurationDetailsProperty : Object, CfnApplication.ISubComponentConfigurationDetailsProperty
Syntax (vb)
Public Class SubComponentConfigurationDetailsProperty
Inherits Object
Implements CfnApplication.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
Constructors
SubComponentConfigurationDetailsProperty() |
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. |
Constructors
SubComponentConfigurationDetailsProperty()
public SubComponentConfigurationDetailsProperty()
Properties
AlarmMetrics
A list of metrics to monitor for the component.
public object AlarmMetrics { get; set; }
Property Value
System.Object
Remarks
Logs
A list of logs to monitor for the component.
public object Logs { get; set; }
Property Value
System.Object
Remarks
WindowsEvents
A list of Windows Events to monitor for the component.
public object WindowsEvents { get; set; }
Property Value
System.Object
Remarks
Only Amazon EC2 instances running on Windows can use WindowsEvents
.