interface SubComponentTypeConfigurationProperty
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.ApplicationInsights.CfnApplication.SubComponentTypeConfigurationProperty |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsapplicationinsights#CfnApplication_SubComponentTypeConfigurationProperty |
Java | software.amazon.awscdk.services.applicationinsights.CfnApplication.SubComponentTypeConfigurationProperty |
Python | aws_cdk.aws_applicationinsights.CfnApplication.SubComponentTypeConfigurationProperty |
TypeScript | aws-cdk-lib » aws_applicationinsights » CfnApplication » SubComponentTypeConfigurationProperty |
The AWS::ApplicationInsights::Application SubComponentTypeConfiguration
property type specifies the sub-component configurations for a component.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_applicationinsights as applicationinsights } from 'aws-cdk-lib';
const subComponentTypeConfigurationProperty: applicationinsights.CfnApplication.SubComponentTypeConfigurationProperty = {
subComponentConfigurationDetails: {
alarmMetrics: [{
alarmMetricName: 'alarmMetricName',
}],
logs: [{
logType: 'logType',
// the properties below are optional
encoding: 'encoding',
logGroupName: 'logGroupName',
logPath: 'logPath',
patternSet: 'patternSet',
}],
processes: [{
alarmMetrics: [{
alarmMetricName: 'alarmMetricName',
}],
processName: 'processName',
}],
windowsEvents: [{
eventLevels: ['eventLevels'],
eventName: 'eventName',
logGroupName: 'logGroupName',
// the properties below are optional
patternSet: 'patternSet',
}],
},
subComponentType: 'subComponentType',
};
Properties
Name | Type | Description |
---|---|---|
sub | IResolvable | Sub | The configuration settings of the sub-components. |
sub | string | The sub-component type. |
subComponentConfigurationDetails
Type:
IResolvable
|
Sub
The configuration settings of the sub-components.
subComponentType
Type:
string
The sub-component type.