Skip to content
v2.275.0

SubComponentTypeConfigurationProperty Struct ​

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

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 ​

subComponentConfigurationDetailsIResolvable | CfnApplication.SubComponentConfigurationDetailsPropertysub_component_configuration_detailstyping.Union[IResolvable, SubComponentConfigurationDetailsProperty]subComponentConfigurationDetailsIResolvableSubComponentConfigurationDetailsIResolvableSubComponentConfigurationDetailsinterface{}required#
The configuration settings of the sub-components.
subComponentTypestringsub_component_typestrsubComponentTypeStringSubComponentTypestringSubComponentType*stringrequired#
The sub-component type.