interface ComponentConfigurationProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.ApplicationInsights.CfnApplication.ComponentConfigurationProperty |
Java | software.amazon.awscdk.services.applicationinsights.CfnApplication.ComponentConfigurationProperty |
Python | aws_cdk.aws_applicationinsights.CfnApplication.ComponentConfigurationProperty |
TypeScript | @aws-cdk/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 * as applicationinsights from '@aws-cdk/aws-applicationinsights';
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
| Name | Type | Description |
|---|---|---|
| configuration | IResolvable | Configuration | The configuration settings. |
| sub | IResolvable | IResolvable | Sub[] | Sub-component configurations of the component. |
configurationDetails?
Type:
IResolvable | Configuration
(optional)
The configuration settings.
subComponentTypeConfigurations?
Type:
IResolvable | IResolvable | Sub[]
(optional)
Sub-component configurations of the component.

.NET
Java
Python
TypeScript