aws-cdk-lib.aws_applicationinsights.CfnApplication.ConfigurationDetailsProperty

interface ConfigurationDetailsProperty

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

The AWS::ApplicationInsights::Application ConfigurationDetails property type specifies the configuration settings.

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 configurationDetailsProperty: applicationinsights.CfnApplication.ConfigurationDetailsProperty = {
  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',
  }],
};

Properties

NameTypeDescription
alarmMetrics?IResolvable | IResolvable | AlarmMetricProperty[]A list of metrics to monitor for the component.
alarms?IResolvable | IResolvable | AlarmProperty[]A list of alarms to monitor for the component.
haClusterPrometheusExporter?IResolvable | HAClusterPrometheusExporterPropertyThe HA cluster Prometheus Exporter settings.
hanaPrometheusExporter?IResolvable | HANAPrometheusExporterPropertyThe HANA DB Prometheus Exporter settings.
jmxPrometheusExporter?IResolvable | JMXPrometheusExporterPropertyA list of Java 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 .


alarms?

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

A list of alarms to monitor for the component.

All component types can use Alarm .


haClusterPrometheusExporter?

Type: IResolvable | HAClusterPrometheusExporterProperty (optional)

The HA cluster Prometheus Exporter settings.


hanaPrometheusExporter?

Type: IResolvable | HANAPrometheusExporterProperty (optional)

The HANA DB Prometheus Exporter settings.


jmxPrometheusExporter?

Type: IResolvable | JMXPrometheusExporterProperty (optional)

A list of Java metrics to monitor for the component.


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 .