AWS::ApplicationInsights::ApplicationThe `AWS::ApplicationInsights::Application` resource adds an application that is created from a resource group.
import { CfnApplication } from 'aws-cdk-lib/aws-applicationinsights';Or use the module namespace:
import * as applicationinsights from 'aws-cdk-lib/aws-applicationinsights';
// applicationinsights.CfnApplicationConfiguration passed to the constructor as CfnApplicationProps.
resourceGroupNameRequiredstringThe name of the resource group used for the application.
attachMissingPermissionOptionalboolean | IResolvableIf set to true, the managed policies for SSM and CW will be attached to the instance roles if they are missing.
autoConfigurationEnabledOptionalboolean | IResolvableIf set to `true` , the application components will be configured with the monitoring configuration recommended by Application Insights.
componentMonitoringSettingsOptionalIResolvable | IResolvable | ComponentMonitoringSettingProperty[]The monitoring settings of the components. Not required to set up default monitoring for all components. To set up default monitoring for all components, set `AutoConfigurationEnabled` to `true` .
customComponentsOptionalIResolvable | IResolvable | CustomComponentProperty[]Describes a custom component by grouping similar standalone instances to monitor.
cweMonitorEnabledOptionalboolean | IResolvableIndicates whether Application Insights can listen to CloudWatch events for the application resources, such as `instance terminated` , `failed deployment` , and others.
groupingTypeOptionalstringApplication Insights can create applications based on a resource group or on an account. To create an account-based application using all of the resources in the account, set this parameter to `ACCOUNT_BASED` .
logPatternSetsOptionalIResolvable | IResolvable | LogPatternSetProperty[]The log pattern sets.
opsCenterEnabledOptionalboolean | IResolvableIndicates whether Application Insights will create OpsItems for any problem that is detected by Application Insights for an application.
opsItemSnsTopicArnOptionalstringThe SNS topic provided to Application Insights that is associated with the created OpsItems to receive SNS notifications for opsItem updates.
snsNotificationArnOptionalstringThe SNS topic ARN that is associated with SNS notifications for updates or issues.
tagsOptionalCfnTag[]An array of `Tags` .
This L1 construct maps directly to the following CloudFormation resource type.
Our bi-weekly newsletter teaches hands-on AWS fundamentals. No certification fluff - just practical knowledge.
Subscribe to Newsletteraws-applicationinsightsAWS::ApplicationInsights::Application