Class CfnApplication.SubComponentTypeConfigurationProperty
The AWS::ApplicationInsights::Application SubComponentTypeConfiguration
property type specifies the sub-component configurations for a component.
Inheritance
System.Object
CfnApplication.SubComponentTypeConfigurationProperty
Namespace: Amazon.CDK.AWS.ApplicationInsights
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class SubComponentTypeConfigurationProperty : Object, CfnApplication.ISubComponentTypeConfigurationProperty
Syntax (vb)
Public Class SubComponentTypeConfigurationProperty
Inherits Object
Implements CfnApplication.ISubComponentTypeConfigurationProperty
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 subComponentTypeConfigurationProperty = new SubComponentTypeConfigurationProperty {
SubComponentConfigurationDetails = 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"
} },
Processes = new [] { new ProcessProperty {
AlarmMetrics = new [] { new AlarmMetricProperty {
AlarmMetricName = "alarmMetricName"
} },
ProcessName = "processName"
} },
WindowsEvents = new [] { new WindowsEventProperty {
EventLevels = new [] { "eventLevels" },
EventName = "eventName",
LogGroupName = "logGroupName",
// the properties below are optional
PatternSet = "patternSet"
} }
},
SubComponentType = "subComponentType"
};
Synopsis
Constructors
SubComponentTypeConfigurationProperty() |
Properties
SubComponentConfigurationDetails | The configuration settings of the sub-components. |
SubComponentType | The sub-component type. |
Constructors
SubComponentTypeConfigurationProperty()
public SubComponentTypeConfigurationProperty()
Properties
SubComponentConfigurationDetails
The configuration settings of the sub-components.
public object SubComponentConfigurationDetails { get; set; }
Property Value
System.Object
Remarks
SubComponentType
The sub-component type.
public string SubComponentType { get; set; }
Property Value
System.String