class CfnApplicationPropsMixin
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.ApplicationInsights.Mixins.CfnApplicationPropsMixin |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awsapplicationinsights/mixins#CfnApplicationPropsMixin |
Java | software.amazon.awscdk.mixins.preview.services.applicationinsights.mixins.CfnApplicationPropsMixin |
Python | aws_cdk.mixins_preview.aws_applicationinsights.mixins.CfnApplicationPropsMixin |
TypeScript | @aws-cdk/mixins-preview » aws_applicationinsights » mixins » CfnApplicationPropsMixin |
Implements
IMixin
Extends
Mixin
The AWS::ApplicationInsights::Application resource adds an application that is created from a resource group.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { mixins } from '@aws-cdk/mixins-preview';
import { mixins as applicationinsights_mixins } from '@aws-cdk/mixins-preview/aws-applicationinsights';
const cfnApplicationPropsMixin = new applicationinsights_mixins.CfnApplicationPropsMixin({
attachMissingPermission: false,
autoConfigurationEnabled: false,
componentMonitoringSettings: [{
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',
}],
customComponents: [{
componentName: 'componentName',
resourceList: ['resourceList'],
}],
cweMonitorEnabled: false,
groupingType: 'groupingType',
logPatternSets: [{
logPatterns: [{
pattern: 'pattern',
patternName: 'patternName',
rank: 123,
}],
patternSetName: 'patternSetName',
}],
opsCenterEnabled: false,
opsItemSnsTopicArn: 'opsItemSnsTopicArn',
resourceGroupName: 'resourceGroupName',
snsNotificationArn: 'snsNotificationArn',
tags: [{
key: 'key',
value: 'value',
}],
}, /* all optional props */ {
strategy: mixins.PropertyMergeStrategy.OVERRIDE,
});
Initializer
new CfnApplicationPropsMixin(props: CfnApplicationMixinProps, options?: CfnPropertyMixinOptions)
Parameters
- props
Cfn— L1 properties to apply.Application Mixin Props - options
Cfn— Mixin options.Property Mixin Options
Create a mixin to apply properties to AWS::ApplicationInsights::Application.
Properties
| Name | Type | Description |
|---|---|---|
| props | Cfn | |
| strategy | Property | |
| static CFN_PROPERTY_KEYS | string[] |
props
Type:
Cfn
strategy
Type:
Property
static CFN_PROPERTY_KEYS
Type:
string[]
Methods
| Name | Description |
|---|---|
| apply | Apply the mixin properties to the construct. |
| supports(construct) | Check if this mixin supports the given construct. |
applyTo(construct)
public applyTo(construct: IConstruct): IConstruct
Parameters
- construct
IConstruct
Returns
Apply the mixin properties to the construct.
supports(construct)
public supports(construct: IConstruct): boolean
Parameters
- construct
IConstruct
Returns
boolean
Check if this mixin supports the given construct.

.NET
Go
Java
Python
TypeScript