AWS Fundamentals Logo
AWS Fundamentals
L1 ConstructAWS::ApplicationInsights::Application

CfnApplication

The `AWS::ApplicationInsights::Application` resource adds an application that is created from a resource group.

Import

import { CfnApplication } from 'aws-cdk-lib/aws-applicationinsights';

Or use the module namespace:

import * as applicationinsights from 'aws-cdk-lib/aws-applicationinsights';
// applicationinsights.CfnApplication

Properties

Configuration passed to the constructor as CfnApplicationProps.

resourceGroupNameRequired
string

The name of the resource group used for the application.

attachMissingPermissionOptional
boolean | IResolvable

If set to true, the managed policies for SSM and CW will be attached to the instance roles if they are missing.

autoConfigurationEnabledOptional
boolean | IResolvable

If set to `true` , the application components will be configured with the monitoring configuration recommended by Application Insights.

componentMonitoringSettingsOptional
IResolvable | 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` .

customComponentsOptional
IResolvable | IResolvable | CustomComponentProperty[]

Describes a custom component by grouping similar standalone instances to monitor.

cweMonitorEnabledOptional
boolean | IResolvable

Indicates whether Application Insights can listen to CloudWatch events for the application resources, such as `instance terminated` , `failed deployment` , and others.

groupingTypeOptional
string

Application 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` .

logPatternSetsOptional
IResolvable | IResolvable | LogPatternSetProperty[]

The log pattern sets.

opsCenterEnabledOptional
boolean | IResolvable

Indicates whether Application Insights will create OpsItems for any problem that is detected by Application Insights for an application.

opsItemSnsTopicArnOptional
string

The SNS topic provided to Application Insights that is associated with the created OpsItems to receive SNS notifications for opsItem updates.

snsNotificationArnOptional
string

The SNS topic ARN that is associated with SNS notifications for updates or issues.

tagsOptional
CfnTag[]

An array of `Tags` .

CloudFormation Resource

This L1 construct maps directly to the following CloudFormation resource type.

Learn AWS the Practical Way

Our bi-weekly newsletter teaches hands-on AWS fundamentals. No certification fluff - just practical knowledge.

Subscribe to Newsletter

Quick Facts

LevelL1 (CloudFormation)
Moduleaws-applicationinsights
CFN TypeAWS::ApplicationInsights::Application
Properties12

External Links