---
# generated by https://github.com/hashicorp/terraform-plugin-docs
page_title: "awscc_applicationinsights_application Resource - terraform-provider-awscc"
subcategory: ""
description: |-
Resource schema for AWS::ApplicationInsights::Application
---
# awscc_applicationinsights_application (Resource)
Resource schema for AWS::ApplicationInsights::Application
## Schema
### Required
- `resource_group_name` (String) The name of the resource group.
### Optional
- `auto_configuration_enabled` (Boolean) If set to true, application will be configured with recommended monitoring configuration.
- `component_monitoring_settings` (Attributes List) The monitoring settings of the components. (see [below for nested schema](#nestedatt--component_monitoring_settings))
- `custom_components` (Attributes List) The custom grouped components. (see [below for nested schema](#nestedatt--custom_components))
- `cwe_monitor_enabled` (Boolean) Indicates whether Application Insights can listen to CloudWatch events for the application resources.
- `log_pattern_sets` (Attributes List) The log pattern sets. (see [below for nested schema](#nestedatt--log_pattern_sets))
- `ops_center_enabled` (Boolean) When set to true, creates opsItems for any problems detected on an application.
- `ops_item_sns_topic_arn` (String) The SNS topic provided to Application Insights that is associated to the created opsItem.
- `tags` (Attributes List) The tags of Application Insights application. (see [below for nested schema](#nestedatt--tags))
### Read-Only
- `application_arn` (String) The ARN of the ApplicationInsights application.
- `id` (String) Uniquely identifies the resource.
### Nested Schema for `component_monitoring_settings`
Optional:
- `component_arn` (String) The ARN of the compnonent.
- `component_configuration_mode` (String) The component monitoring configuration mode.
- `component_name` (String) The name of the component.
- `custom_component_configuration` (Attributes) The monitoring configuration of the component. (see [below for nested schema](#nestedatt--component_monitoring_settings--custom_component_configuration))
- `default_overwrite_component_configuration` (Attributes) The overwritten settings on default component monitoring configuration. (see [below for nested schema](#nestedatt--component_monitoring_settings--default_overwrite_component_configuration))
- `tier` (String) The tier of the application component.
### Nested Schema for `component_monitoring_settings.custom_component_configuration`
Optional:
- `configuration_details` (Attributes) The configuration settings (see [below for nested schema](#nestedatt--component_monitoring_settings--custom_component_configuration--configuration_details))
- `sub_component_type_configurations` (Attributes List) Sub component configurations of the component. (see [below for nested schema](#nestedatt--component_monitoring_settings--custom_component_configuration--sub_component_type_configurations))
### Nested Schema for `component_monitoring_settings.custom_component_configuration.configuration_details`
Optional:
- `alarm_metrics` (Attributes List) A list of metrics to monitor for the component. (see [below for nested schema](#nestedatt--component_monitoring_settings--custom_component_configuration--configuration_details--alarm_metrics))
- `alarms` (Attributes List) A list of alarms to monitor for the component. (see [below for nested schema](#nestedatt--component_monitoring_settings--custom_component_configuration--configuration_details--alarms))
- `ha_cluster_prometheus_exporter` (Attributes) The HA cluster Prometheus Exporter settings. (see [below for nested schema](#nestedatt--component_monitoring_settings--custom_component_configuration--configuration_details--ha_cluster_prometheus_exporter))
- `hana_prometheus_exporter` (Attributes) The HANA DB Prometheus Exporter settings. (see [below for nested schema](#nestedatt--component_monitoring_settings--custom_component_configuration--configuration_details--hana_prometheus_exporter))
- `jmx_prometheus_exporter` (Attributes) The JMX Prometheus Exporter settings. (see [below for nested schema](#nestedatt--component_monitoring_settings--custom_component_configuration--configuration_details--jmx_prometheus_exporter))
- `logs` (Attributes List) A list of logs to monitor for the component. (see [below for nested schema](#nestedatt--component_monitoring_settings--custom_component_configuration--configuration_details--logs))
- `windows_events` (Attributes List) A list of Windows Events to log. (see [below for nested schema](#nestedatt--component_monitoring_settings--custom_component_configuration--configuration_details--windows_events))
### Nested Schema for `component_monitoring_settings.custom_component_configuration.configuration_details.windows_events`
Optional:
- `alarm_metric_name` (String) The name of the metric to be monitored for the component.
### Nested Schema for `component_monitoring_settings.custom_component_configuration.configuration_details.windows_events`
Optional:
- `alarm_name` (String) The name of the CloudWatch alarm to be monitored for the component.
- `severity` (String) Indicates the degree of outage when the alarm goes off.
### Nested Schema for `component_monitoring_settings.custom_component_configuration.configuration_details.windows_events`
Optional:
- `prometheus_port` (String) Prometheus exporter port.
### Nested Schema for `component_monitoring_settings.custom_component_configuration.configuration_details.windows_events`
Optional:
- `agree_to_install_hanadb_client` (Boolean) A flag which indicates agreeing to install SAP HANA DB client.
- `hana_port` (String) The HANA DB port.
- `hana_secret_name` (String) The secret name which manages the HANA DB credentials e.g. {
"username": "<>",
"password": "<>"
}.
- `hanasid` (String) HANA DB SID.
- `prometheus_port` (String) Prometheus exporter port.
### Nested Schema for `component_monitoring_settings.custom_component_configuration.configuration_details.windows_events`
Optional:
- `host_port` (String) Java agent host port
- `jmxurl` (String) JMX service URL.
- `prometheus_port` (String) Prometheus exporter port.
### Nested Schema for `component_monitoring_settings.custom_component_configuration.configuration_details.windows_events`
Optional:
- `encoding` (String) The type of encoding of the logs to be monitored.
- `log_group_name` (String) The CloudWatch log group name to be associated to the monitored log.
- `log_path` (String) The path of the logs to be monitored.
- `log_type` (String) The log type decides the log patterns against which Application Insights analyzes the log.
- `pattern_set` (String) The name of the log pattern set.
### Nested Schema for `component_monitoring_settings.custom_component_configuration.configuration_details.windows_events`
Optional:
- `event_levels` (List of String) The levels of event to log.
- `event_name` (String) The type of Windows Events to log.
- `log_group_name` (String) The CloudWatch log group name to be associated to the monitored log.
- `pattern_set` (String) The name of the log pattern set.
### Nested Schema for `component_monitoring_settings.custom_component_configuration.sub_component_type_configurations`
Optional:
- `sub_component_configuration_details` (Attributes) The configuration settings of sub components. (see [below for nested schema](#nestedatt--component_monitoring_settings--custom_component_configuration--sub_component_type_configurations--sub_component_configuration_details))
- `sub_component_type` (String) The sub component type.
### Nested Schema for `component_monitoring_settings.custom_component_configuration.sub_component_type_configurations.sub_component_type`
Optional:
- `alarm_metrics` (Attributes List) A list of metrics to monitor for the component. (see [below for nested schema](#nestedatt--component_monitoring_settings--custom_component_configuration--sub_component_type_configurations--sub_component_type--alarm_metrics))
- `logs` (Attributes List) A list of logs to monitor for the component. (see [below for nested schema](#nestedatt--component_monitoring_settings--custom_component_configuration--sub_component_type_configurations--sub_component_type--logs))
- `windows_events` (Attributes List) A list of Windows Events to log. (see [below for nested schema](#nestedatt--component_monitoring_settings--custom_component_configuration--sub_component_type_configurations--sub_component_type--windows_events))
### Nested Schema for `component_monitoring_settings.custom_component_configuration.sub_component_type_configurations.sub_component_type.alarm_metrics`
Optional:
- `alarm_metric_name` (String) The name of the metric to be monitored for the component.
### Nested Schema for `component_monitoring_settings.custom_component_configuration.sub_component_type_configurations.sub_component_type.logs`
Optional:
- `encoding` (String) The type of encoding of the logs to be monitored.
- `log_group_name` (String) The CloudWatch log group name to be associated to the monitored log.
- `log_path` (String) The path of the logs to be monitored.
- `log_type` (String) The log type decides the log patterns against which Application Insights analyzes the log.
- `pattern_set` (String) The name of the log pattern set.
### Nested Schema for `component_monitoring_settings.custom_component_configuration.sub_component_type_configurations.sub_component_type.windows_events`
Optional:
- `event_levels` (List of String) The levels of event to log.
- `event_name` (String) The type of Windows Events to log.
- `log_group_name` (String) The CloudWatch log group name to be associated to the monitored log.
- `pattern_set` (String) The name of the log pattern set.
### Nested Schema for `component_monitoring_settings.default_overwrite_component_configuration`
Optional:
- `configuration_details` (Attributes) The configuration settings (see [below for nested schema](#nestedatt--component_monitoring_settings--default_overwrite_component_configuration--configuration_details))
- `sub_component_type_configurations` (Attributes List) Sub component configurations of the component. (see [below for nested schema](#nestedatt--component_monitoring_settings--default_overwrite_component_configuration--sub_component_type_configurations))
### Nested Schema for `component_monitoring_settings.default_overwrite_component_configuration.configuration_details`
Optional:
- `alarm_metrics` (Attributes List) A list of metrics to monitor for the component. (see [below for nested schema](#nestedatt--component_monitoring_settings--default_overwrite_component_configuration--configuration_details--alarm_metrics))
- `alarms` (Attributes List) A list of alarms to monitor for the component. (see [below for nested schema](#nestedatt--component_monitoring_settings--default_overwrite_component_configuration--configuration_details--alarms))
- `ha_cluster_prometheus_exporter` (Attributes) The HA cluster Prometheus Exporter settings. (see [below for nested schema](#nestedatt--component_monitoring_settings--default_overwrite_component_configuration--configuration_details--ha_cluster_prometheus_exporter))
- `hana_prometheus_exporter` (Attributes) The HANA DB Prometheus Exporter settings. (see [below for nested schema](#nestedatt--component_monitoring_settings--default_overwrite_component_configuration--configuration_details--hana_prometheus_exporter))
- `jmx_prometheus_exporter` (Attributes) The JMX Prometheus Exporter settings. (see [below for nested schema](#nestedatt--component_monitoring_settings--default_overwrite_component_configuration--configuration_details--jmx_prometheus_exporter))
- `logs` (Attributes List) A list of logs to monitor for the component. (see [below for nested schema](#nestedatt--component_monitoring_settings--default_overwrite_component_configuration--configuration_details--logs))
- `windows_events` (Attributes List) A list of Windows Events to log. (see [below for nested schema](#nestedatt--component_monitoring_settings--default_overwrite_component_configuration--configuration_details--windows_events))
### Nested Schema for `component_monitoring_settings.default_overwrite_component_configuration.configuration_details.windows_events`
Optional:
- `alarm_metric_name` (String) The name of the metric to be monitored for the component.
### Nested Schema for `component_monitoring_settings.default_overwrite_component_configuration.configuration_details.windows_events`
Optional:
- `alarm_name` (String) The name of the CloudWatch alarm to be monitored for the component.
- `severity` (String) Indicates the degree of outage when the alarm goes off.
### Nested Schema for `component_monitoring_settings.default_overwrite_component_configuration.configuration_details.windows_events`
Optional:
- `prometheus_port` (String) Prometheus exporter port.
### Nested Schema for `component_monitoring_settings.default_overwrite_component_configuration.configuration_details.windows_events`
Optional:
- `agree_to_install_hanadb_client` (Boolean) A flag which indicates agreeing to install SAP HANA DB client.
- `hana_port` (String) The HANA DB port.
- `hana_secret_name` (String) The secret name which manages the HANA DB credentials e.g. {
"username": "<>",
"password": "<>"
}.
- `hanasid` (String) HANA DB SID.
- `prometheus_port` (String) Prometheus exporter port.
### Nested Schema for `component_monitoring_settings.default_overwrite_component_configuration.configuration_details.windows_events`
Optional:
- `host_port` (String) Java agent host port
- `jmxurl` (String) JMX service URL.
- `prometheus_port` (String) Prometheus exporter port.
### Nested Schema for `component_monitoring_settings.default_overwrite_component_configuration.configuration_details.windows_events`
Optional:
- `encoding` (String) The type of encoding of the logs to be monitored.
- `log_group_name` (String) The CloudWatch log group name to be associated to the monitored log.
- `log_path` (String) The path of the logs to be monitored.
- `log_type` (String) The log type decides the log patterns against which Application Insights analyzes the log.
- `pattern_set` (String) The name of the log pattern set.
### Nested Schema for `component_monitoring_settings.default_overwrite_component_configuration.configuration_details.windows_events`
Optional:
- `event_levels` (List of String) The levels of event to log.
- `event_name` (String) The type of Windows Events to log.
- `log_group_name` (String) The CloudWatch log group name to be associated to the monitored log.
- `pattern_set` (String) The name of the log pattern set.
### Nested Schema for `component_monitoring_settings.default_overwrite_component_configuration.sub_component_type_configurations`
Optional:
- `sub_component_configuration_details` (Attributes) The configuration settings of sub components. (see [below for nested schema](#nestedatt--component_monitoring_settings--default_overwrite_component_configuration--sub_component_type_configurations--sub_component_configuration_details))
- `sub_component_type` (String) The sub component type.
### Nested Schema for `component_monitoring_settings.default_overwrite_component_configuration.sub_component_type_configurations.sub_component_type`
Optional:
- `alarm_metrics` (Attributes List) A list of metrics to monitor for the component. (see [below for nested schema](#nestedatt--component_monitoring_settings--default_overwrite_component_configuration--sub_component_type_configurations--sub_component_type--alarm_metrics))
- `logs` (Attributes List) A list of logs to monitor for the component. (see [below for nested schema](#nestedatt--component_monitoring_settings--default_overwrite_component_configuration--sub_component_type_configurations--sub_component_type--logs))
- `windows_events` (Attributes List) A list of Windows Events to log. (see [below for nested schema](#nestedatt--component_monitoring_settings--default_overwrite_component_configuration--sub_component_type_configurations--sub_component_type--windows_events))
### Nested Schema for `component_monitoring_settings.default_overwrite_component_configuration.sub_component_type_configurations.sub_component_type.alarm_metrics`
Optional:
- `alarm_metric_name` (String) The name of the metric to be monitored for the component.
### Nested Schema for `component_monitoring_settings.default_overwrite_component_configuration.sub_component_type_configurations.sub_component_type.logs`
Optional:
- `encoding` (String) The type of encoding of the logs to be monitored.
- `log_group_name` (String) The CloudWatch log group name to be associated to the monitored log.
- `log_path` (String) The path of the logs to be monitored.
- `log_type` (String) The log type decides the log patterns against which Application Insights analyzes the log.
- `pattern_set` (String) The name of the log pattern set.
### Nested Schema for `component_monitoring_settings.default_overwrite_component_configuration.sub_component_type_configurations.sub_component_type.windows_events`
Optional:
- `event_levels` (List of String) The levels of event to log.
- `event_name` (String) The type of Windows Events to log.
- `log_group_name` (String) The CloudWatch log group name to be associated to the monitored log.
- `pattern_set` (String) The name of the log pattern set.
### Nested Schema for `custom_components`
Optional:
- `component_name` (String) The name of the component.
- `resource_list` (List of String) The list of resource ARNs that belong to the component.
### Nested Schema for `log_pattern_sets`
Optional:
- `log_patterns` (Attributes List) The log patterns of a set. (see [below for nested schema](#nestedatt--log_pattern_sets--log_patterns))
- `pattern_set_name` (String) The name of the log pattern set.
### Nested Schema for `log_pattern_sets.log_patterns`
Optional:
- `pattern` (String) The log pattern.
- `pattern_name` (String) The name of the log pattern.
- `rank` (Number) Rank of the log pattern.
### Nested Schema for `tags`
Optional:
- `key` (String) The key name of the tag. You can specify a value that is 1 to 127 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.
- `value` (String) The value for the tag. You can specify a value that is 1 to 255 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.
## Import
Import is supported using the following syntax:
```shell
$ terraform import awscc_applicationinsights_application.example
```