aws-cdk-lib.aws_applicationinsights.CfnApplication.SubComponentConfigurationDetailsProperty

interface SubComponentConfigurationDetailsProperty

LanguageType name
.NETAmazon.CDK.AWS.ApplicationInsights.CfnApplication.SubComponentConfigurationDetailsProperty
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awsapplicationinsights#CfnApplication_SubComponentConfigurationDetailsProperty
Javasoftware.amazon.awscdk.services.applicationinsights.CfnApplication.SubComponentConfigurationDetailsProperty
Pythonaws_cdk.aws_applicationinsights.CfnApplication.SubComponentConfigurationDetailsProperty
TypeScript aws-cdk-lib » 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 { aws_applicationinsights as applicationinsights } from 'aws-cdk-lib';
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

NameTypeDescription
alarmMetrics?IResolvable | IResolvable | AlarmMetricProperty[]A list of metrics to monitor for the component.
logs?IResolvable | IResolvable | LogProperty[]A list of logs to monitor for the component.
windowsEvents?IResolvable | IResolvable | WindowsEventProperty[]A list of Windows Events to monitor for the component.

alarmMetrics?

Type: IResolvable | IResolvable | AlarmMetricProperty[] (optional)

A list of metrics to monitor for the component.

All component types can use AlarmMetrics .


logs?

Type: IResolvable | IResolvable | LogProperty[] (optional)

A list of logs to monitor for the component.

Only Amazon EC2 instances can use Logs .


windowsEvents?

Type: IResolvable | IResolvable | WindowsEventProperty[] (optional)

A list of Windows Events to monitor for the component.

Only Amazon EC2 instances running on Windows can use WindowsEvents .