interface ComponentMonitoringSettingProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.ApplicationInsights.Mixins.CfnApplicationPropsMixin.ComponentMonitoringSettingProperty |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awsapplicationinsights/mixins#CfnApplicationPropsMixin_ComponentMonitoringSettingProperty |
Java | software.amazon.awscdk.mixins.preview.services.applicationinsights.mixins.CfnApplicationPropsMixin.ComponentMonitoringSettingProperty |
Python | aws_cdk.mixins_preview.aws_applicationinsights.mixins.CfnApplicationPropsMixin.ComponentMonitoringSettingProperty |
TypeScript | @aws-cdk/mixins-preview » aws_applicationinsights » mixins » CfnApplicationPropsMixin » ComponentMonitoringSettingProperty |
The AWS::ApplicationInsights::Application ComponentMonitoringSetting property type defines the monitoring setting of the component.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { mixins as applicationinsights_mixins } from '@aws-cdk/mixins-preview/aws-applicationinsights';
const componentMonitoringSettingProperty: applicationinsights_mixins.CfnApplicationPropsMixin.ComponentMonitoringSettingProperty = {
componentArn: 'componentArn',
componentConfigurationMode: 'componentConfigurationMode',
componentName: 'componentName',
customComponentConfiguration: {
configurationDetails: {
alarmMetrics: [{
alarmMetricName: 'alarmMetricName',
}],
alarms: [{
alarmName: 'alarmName',
severity: 'severity',
}],
haClusterPrometheusExporter: {
prometheusPort: 'prometheusPort',
},
hanaPrometheusExporter: {
agreeToInstallHanadbClient: false,
hanaPort: 'hanaPort',
hanaSecretName: 'hanaSecretName',
hanasid: 'hanasid',
prometheusPort: 'prometheusPort',
},
jmxPrometheusExporter: {
hostPort: 'hostPort',
jmxurl: 'jmxurl',
prometheusPort: 'prometheusPort',
},
logs: [{
encoding: 'encoding',
logGroupName: 'logGroupName',
logPath: 'logPath',
logType: 'logType',
patternSet: 'patternSet',
}],
netWeaverPrometheusExporter: {
instanceNumbers: ['instanceNumbers'],
prometheusPort: 'prometheusPort',
sapsid: 'sapsid',
},
processes: [{
alarmMetrics: [{
alarmMetricName: 'alarmMetricName',
}],
processName: 'processName',
}],
sqlServerPrometheusExporter: {
prometheusPort: 'prometheusPort',
sqlSecretName: 'sqlSecretName',
},
windowsEvents: [{
eventLevels: ['eventLevels'],
eventName: 'eventName',
logGroupName: 'logGroupName',
patternSet: 'patternSet',
}],
},
subComponentTypeConfigurations: [{
subComponentConfigurationDetails: {
alarmMetrics: [{
alarmMetricName: 'alarmMetricName',
}],
logs: [{
encoding: 'encoding',
logGroupName: 'logGroupName',
logPath: 'logPath',
logType: 'logType',
patternSet: 'patternSet',
}],
processes: [{
alarmMetrics: [{
alarmMetricName: 'alarmMetricName',
}],
processName: 'processName',
}],
windowsEvents: [{
eventLevels: ['eventLevels'],
eventName: 'eventName',
logGroupName: 'logGroupName',
patternSet: 'patternSet',
}],
},
subComponentType: 'subComponentType',
}],
},
defaultOverwriteComponentConfiguration: {
configurationDetails: {
alarmMetrics: [{
alarmMetricName: 'alarmMetricName',
}],
alarms: [{
alarmName: 'alarmName',
severity: 'severity',
}],
haClusterPrometheusExporter: {
prometheusPort: 'prometheusPort',
},
hanaPrometheusExporter: {
agreeToInstallHanadbClient: false,
hanaPort: 'hanaPort',
hanaSecretName: 'hanaSecretName',
hanasid: 'hanasid',
prometheusPort: 'prometheusPort',
},
jmxPrometheusExporter: {
hostPort: 'hostPort',
jmxurl: 'jmxurl',
prometheusPort: 'prometheusPort',
},
logs: [{
encoding: 'encoding',
logGroupName: 'logGroupName',
logPath: 'logPath',
logType: 'logType',
patternSet: 'patternSet',
}],
netWeaverPrometheusExporter: {
instanceNumbers: ['instanceNumbers'],
prometheusPort: 'prometheusPort',
sapsid: 'sapsid',
},
processes: [{
alarmMetrics: [{
alarmMetricName: 'alarmMetricName',
}],
processName: 'processName',
}],
sqlServerPrometheusExporter: {
prometheusPort: 'prometheusPort',
sqlSecretName: 'sqlSecretName',
},
windowsEvents: [{
eventLevels: ['eventLevels'],
eventName: 'eventName',
logGroupName: 'logGroupName',
patternSet: 'patternSet',
}],
},
subComponentTypeConfigurations: [{
subComponentConfigurationDetails: {
alarmMetrics: [{
alarmMetricName: 'alarmMetricName',
}],
logs: [{
encoding: 'encoding',
logGroupName: 'logGroupName',
logPath: 'logPath',
logType: 'logType',
patternSet: 'patternSet',
}],
processes: [{
alarmMetrics: [{
alarmMetricName: 'alarmMetricName',
}],
processName: 'processName',
}],
windowsEvents: [{
eventLevels: ['eventLevels'],
eventName: 'eventName',
logGroupName: 'logGroupName',
patternSet: 'patternSet',
}],
},
subComponentType: 'subComponentType',
}],
},
tier: 'tier',
};
Properties
| Name | Type | Description |
|---|---|---|
| component | string | The ARN of the component. |
| component | string | Component monitoring can be configured in one of the following three modes:. |
| component | string | The name of the component. |
| custom | IResolvable | Component | Customized monitoring settings. |
| default | IResolvable | Component | Customized overwrite monitoring settings. |
| tier? | string | The tier of the application component. |
componentArn?
Type:
string
(optional)
The ARN of the component.
Either the component ARN or the component name is required.
componentConfigurationMode?
Type:
string
(optional)
Component monitoring can be configured in one of the following three modes:.
DEFAULT: The component will be configured with the recommended default monitoring settings of the selectedTier.CUSTOM: The component will be configured with the customized monitoring settings that are specified inCustomComponentConfiguration. If used,CustomComponentConfigurationmust be provided.DEFAULT_WITH_OVERWRITE: The component will be configured with the recommended default monitoring settings of the selectedTier, and merged with customized overwrite settings that are specified inDefaultOverwriteComponentConfiguration. If used,DefaultOverwriteComponentConfigurationmust be provided.
componentName?
Type:
string
(optional)
The name of the component.
Either the component ARN or the component name is required.
customComponentConfiguration?
Type:
IResolvable | Component
(optional)
Customized monitoring settings.
Required if CUSTOM mode is configured in ComponentConfigurationMode .
defaultOverwriteComponentConfiguration?
Type:
IResolvable | Component
(optional)
Customized overwrite monitoring settings.
Required if CUSTOM mode is configured in ComponentConfigurationMode .
tier?
Type:
string
(optional)
The tier of the application component.
Supported tiers include DOT_NET_CORE , DOT_NET_WORKER , DOT_NET_WEB , SQL_SERVER , SQL_SERVER_ALWAYSON_AVAILABILITY_GROUP , SQL_SERVER_FAILOVER_CLUSTER_INSTANCE , MYSQL , POSTGRESQL , JAVA_JMX , ORACLE , SAP_HANA_MULTI_NODE , SAP_HANA_SINGLE_NODE , SAP_HANA_HIGH_AVAILABILITY , SHAREPOINT . ACTIVE_DIRECTORY , and DEFAULT .

.NET
Go
Java
Python
TypeScript