aws-cdk-lib.aws_applicationinsights.CfnApplication.ComponentConfigurationProperty

interface ComponentConfigurationProperty

LanguageType name
.NETAmazon.CDK.AWS.ApplicationInsights.CfnApplication.ComponentConfigurationProperty
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awsapplicationinsights#CfnApplication_ComponentConfigurationProperty
Javasoftware.amazon.awscdk.services.applicationinsights.CfnApplication.ComponentConfigurationProperty
Pythonaws_cdk.aws_applicationinsights.CfnApplication.ComponentConfigurationProperty
TypeScript aws-cdk-lib » aws_applicationinsights » CfnApplication » ComponentConfigurationProperty

The AWS::ApplicationInsights::Application ComponentConfiguration property type defines the configuration settings of the 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 componentConfigurationProperty: applicationinsights.CfnApplication.ComponentConfigurationProperty = {
  configurationDetails: {
    alarmMetrics: [{
      alarmMetricName: 'alarmMetricName',
    }],
    alarms: [{
      alarmName: 'alarmName',

      // the properties below are optional
      severity: 'severity',
    }],
    haClusterPrometheusExporter: {
      prometheusPort: 'prometheusPort',
    },
    hanaPrometheusExporter: {
      agreeToInstallHanadbClient: false,
      hanaPort: 'hanaPort',
      hanaSecretName: 'hanaSecretName',
      hanasid: 'hanasid',

      // the properties below are optional
      prometheusPort: 'prometheusPort',
    },
    jmxPrometheusExporter: {
      hostPort: 'hostPort',
      jmxurl: 'jmxurl',
      prometheusPort: 'prometheusPort',
    },
    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',
    }],
  },
  subComponentTypeConfigurations: [{
    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
configurationDetails?IResolvable | ConfigurationDetailsPropertyThe configuration settings.
subComponentTypeConfigurations?IResolvable | IResolvable | SubComponentTypeConfigurationProperty[]Sub-component configurations of the component.

configurationDetails?

Type: IResolvable | ConfigurationDetailsProperty (optional)

The configuration settings.


subComponentTypeConfigurations?

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

Sub-component configurations of the component.