aws-cdk-lib.aws_applicationinsights.CfnApplication.SubComponentTypeConfigurationProperty

interface SubComponentTypeConfigurationProperty

LanguageType name
.NETAmazon.CDK.AWS.ApplicationInsights.CfnApplication.SubComponentTypeConfigurationProperty
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awsapplicationinsights#CfnApplication_SubComponentTypeConfigurationProperty
Javasoftware.amazon.awscdk.services.applicationinsights.CfnApplication.SubComponentTypeConfigurationProperty
Pythonaws_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',
    }],
    windowsEvents: [{
      eventLevels: ['eventLevels'],
      eventName: 'eventName',
      logGroupName: 'logGroupName',

      // the properties below are optional
      patternSet: 'patternSet',
    }],
  },
  subComponentType: 'subComponentType',
};

Properties

NameTypeDescription
subComponentConfigurationDetailsIResolvable | SubComponentConfigurationDetailsPropertyThe configuration settings of the sub-components.
subComponentTypestringThe sub-component type.

subComponentConfigurationDetails

Type: IResolvable | SubComponentConfigurationDetailsProperty

The configuration settings of the sub-components.


subComponentType

Type: string

The sub-component type.