interface SubComponentConfigurationDetailsProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.ApplicationInsights.CfnApplication.SubComponentConfigurationDetailsProperty |
Java | software.amazon.awscdk.services.applicationinsights.CfnApplication.SubComponentConfigurationDetailsProperty |
Python | aws_cdk.aws_applicationinsights.CfnApplication.SubComponentConfigurationDetailsProperty |
TypeScript | @aws-cdk/aws-applicationinsights » CfnApplication » SubComponentConfigurationDetailsProperty |
The AWS::ApplicationInsights::Application SubComponentConfigurationDetails property type specifies the configuration settings of the sub-components.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as applicationinsights from '@aws-cdk/aws-applicationinsights';
const subComponentConfigurationDetailsProperty: applicationinsights.CfnApplication.SubComponentConfigurationDetailsProperty = {
alarmMetrics: [{
alarmMetricName: 'alarmMetricName',
}],
logs: [{
logType: 'logType',
// the properties below are optional
encoding: 'encoding',
logGroupName: 'logGroupName',
logPath: 'logPath',
patternSet: 'patternSet',
}],
windowsEvents: [{
eventLevels: ['eventLevels'],
eventName: 'eventName',
logGroupName: 'logGroupName',
// the properties below are optional
patternSet: 'patternSet',
}],
};
Properties
| Name | Type | Description |
|---|---|---|
| alarm | IResolvable | IResolvable | Alarm[] | A list of metrics to monitor for the component. |
| logs? | IResolvable | IResolvable | Log[] | A list of logs to monitor for the component. |
| windows | IResolvable | IResolvable | Windows[] | A list of Windows Events to monitor for the component. |
alarmMetrics?
Type:
IResolvable | IResolvable | Alarm[]
(optional)
A list of metrics to monitor for the component.
All component types can use AlarmMetrics .
logs?
Type:
IResolvable | IResolvable | Log[]
(optional)
A list of logs to monitor for the component.
Only Amazon EC2 instances can use Logs .
windowsEvents?
Type:
IResolvable | IResolvable | Windows[]
(optional)
A list of Windows Events to monitor for the component.
Only Amazon EC2 instances running on Windows can use WindowsEvents .

.NET
Java
Python
TypeScript