# SubComponentTypeConfigurationProperty

The `AWS::ApplicationInsights::Application SubComponentTypeConfiguration` property type specifies the sub-component configurations for a component.

- Source: Generated code
- Type last changed: v2.93.0 · 23 Aug 2023

## Example

```ts
// 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

- `subComponentConfigurationDetails`: [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnApplication.SubComponentConfigurationDetailsProperty](/cdk/api/v2/docs/aws-cdk-lib.aws_applicationinsights.CfnApplication.SubComponentConfigurationDetailsProperty.html) (required) — The configuration settings of the sub-components.

- `subComponentType`: string (required) — The sub-component type.
