Class CfnApplicationPropsMixin.SubComponentTypeConfigurationProperty
The AWS::ApplicationInsights::Application SubComponentTypeConfiguration property type specifies the sub-component configurations for a component.
Inherited Members
Namespace: Amazon.CDK.Mixins.Preview.AWS.ApplicationInsights.Mixins
Assembly: Amazon.CDK.Mixins.Preview.dll
Syntax (csharp)
public class CfnApplicationPropsMixin.SubComponentTypeConfigurationProperty : CfnApplicationPropsMixin.ISubComponentTypeConfigurationProperty
Syntax (vb)
Public Class CfnApplicationPropsMixin.SubComponentTypeConfigurationProperty Implements CfnApplicationPropsMixin.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.Mixins.Preview.AWS.ApplicationInsights.Mixins;
var subComponentTypeConfigurationProperty = 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"
};
Synopsis
Constructors
| SubComponentTypeConfigurationProperty() | The |
Properties
| SubComponentConfigurationDetails | The configuration settings of the sub-components. |
| SubComponentType | The sub-component type. |
Constructors
SubComponentTypeConfigurationProperty()
The AWS::ApplicationInsights::Application SubComponentTypeConfiguration property type specifies the sub-component configurations for a component.
public SubComponentTypeConfigurationProperty()
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.Mixins.Preview.AWS.ApplicationInsights.Mixins;
var subComponentTypeConfigurationProperty = 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"
};
Properties
SubComponentConfigurationDetails
The configuration settings of the sub-components.
public object? SubComponentConfigurationDetails { get; set; }
Property Value
Remarks
Type union: either IResolvable or CfnApplicationPropsMixin.ISubComponentConfigurationDetailsProperty
SubComponentType
The sub-component type.
public string? SubComponentType { get; set; }