interface ConfigurationDetailsProperty
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.ApplicationInsights.CfnApplication.ConfigurationDetailsProperty |
![]() | software.amazon.awscdk.services.applicationinsights.CfnApplication.ConfigurationDetailsProperty |
![]() | aws_cdk.aws_applicationinsights.CfnApplication.ConfigurationDetailsProperty |
![]() | @aws-cdk/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 * as applicationinsights from '@aws-cdk/aws-applicationinsights';
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
Name | Type | Description |
---|---|---|
alarm | IResolvable | IResolvable | Alarm [] | A list of metrics to monitor for the component. |
alarms? | IResolvable | IResolvable | Alarm [] | A list of alarms to monitor for the component. |
ha | IResolvable | HACluster | The HA cluster Prometheus Exporter settings. |
hana | IResolvable | HANAPrometheus | The HANA DB Prometheus Exporter settings. |
jmx | IResolvable | JMXPrometheus | A list of Java metrics to monitor for the component. |
logs? | IResolvable | IResolvable | Log [] | A list of logs to monitor for the component. |
windows | IResolvable | IResolvable | Windows [] | A list of Windows Events to monitor for the component. |
alarmMetrics?
Type:
IResolvable
|
IResolvable
|
Alarm
[]
(optional)
A list of metrics to monitor for the component.
All component types can use AlarmMetrics
.
alarms?
Type:
IResolvable
|
IResolvable
|
Alarm
[]
(optional)
A list of alarms to monitor for the component.
All component types can use Alarm
.
haClusterPrometheusExporter?
Type:
IResolvable
|
HACluster
(optional)
The HA cluster Prometheus Exporter settings.
hanaPrometheusExporter?
Type:
IResolvable
|
HANAPrometheus
(optional)
The HANA DB Prometheus Exporter settings.
jmxPrometheusExporter?
Type:
IResolvable
|
JMXPrometheus
(optional)
A list of Java metrics to monitor for the component.
logs?
Type:
IResolvable
|
IResolvable
|
Log
[]
(optional)
A list of logs to monitor for the component.
Only Amazon EC2 instances can use Logs
.
windowsEvents?
Type:
IResolvable
|
IResolvable
|
Windows
[]
(optional)
A list of Windows Events to monitor for the component.
Only Amazon EC2 instances running on Windows can use WindowsEvents
.