Resource schema for AWS::ApplicationInsights::Application
resource_group_name
(String) The name of the resource group.attach_missing_permission
(Boolean) If set to true, the managed policies for SSM and CW will be attached to the instance roles if they are missingauto_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)custom_components
(Attributes List) The custom grouped components. (see below for nested schema)cwe_monitor_enabled
(Boolean) Indicates whether Application Insights can listen to CloudWatch events for the application resources.grouping_type
(String) The grouping type of the applicationlog_pattern_sets
(Attributes List) The log pattern sets. (see below for nested schema)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)application_arn
(String) The ARN of the ApplicationInsights application.id
(String) Uniquely identifies the resource.component_monitoring_settings
Required:
component_configuration_mode
(String) The component monitoring configuration mode.tier
(String) The tier of the application component.Optional:
component_arn
(String) The ARN of the compnonent.component_name
(String) The name of the component.custom_component_configuration
(Attributes) The monitoring configuration of the component. (see below for nested schema)default_overwrite_component_configuration
(Attributes) The overwritten settings on default component monitoring configuration. (see below for nested schema)component_monitoring_settings.custom_component_configuration
Optional:
configuration_details
(Attributes) The configuration settings (see below for nested schema)sub_component_type_configurations
(Attributes List) Sub component configurations of the component. (see below for nested schema)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)alarms
(Attributes List) A list of alarms to monitor for the component. (see below for nested schema)ha_cluster_prometheus_exporter
(Attributes) The HA cluster Prometheus Exporter settings. (see below for nested schema)hana_prometheus_exporter
(Attributes) The HANA DB Prometheus Exporter settings. (see below for nested schema)jmx_prometheus_exporter
(Attributes) The JMX Prometheus Exporter settings. (see below for nested schema)logs
(Attributes List) A list of logs to monitor for the component. (see below for nested schema)net_weaver_prometheus_exporter
(Attributes) The NetWeaver Prometheus Exporter settings. (see below for nested schema)processes
(Attributes List) A list of processes to monitor for the component. Only Windows EC2 instances can have a processes section. (see below for nested schema)sql_server_prometheus_exporter
(Attributes) The SQL Prometheus Exporter settings. (see below for nested schema)windows_events
(Attributes List) A list of Windows Events to log. (see below for nested schema)component_monitoring_settings.custom_component_configuration.configuration_details.alarm_metrics
Required:
alarm_metric_name
(String) The name of the metric to be monitored for the component.component_monitoring_settings.custom_component_configuration.configuration_details.alarms
Required:
alarm_name
(String) The name of the CloudWatch alarm to be monitored for the component.Optional:
severity
(String) Indicates the degree of outage when the alarm goes off.component_monitoring_settings.custom_component_configuration.configuration_details.ha_cluster_prometheus_exporter
Optional:
prometheus_port
(String) Prometheus exporter port.component_monitoring_settings.custom_component_configuration.configuration_details.hana_prometheus_exporter
Required:
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.Optional:
prometheus_port
(String) Prometheus exporter port.component_monitoring_settings.custom_component_configuration.configuration_details.jmx_prometheus_exporter
Optional:
host_port
(String) Java agent host portjmxurl
(String) JMX service URL.prometheus_port
(String) Prometheus exporter port.component_monitoring_settings.custom_component_configuration.configuration_details.logs
Required:
log_type
(String) The log type decides the log patterns against which Application Insights analyzes the log.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.pattern_set
(String) The name of the log pattern set.component_monitoring_settings.custom_component_configuration.configuration_details.net_weaver_prometheus_exporter
Required:
instance_numbers
(List of String) SAP instance numbers for ASCS, ERS, and App Servers.sapsid
(String) SAP NetWeaver SID.Optional:
prometheus_port
(String) Prometheus exporter port.component_monitoring_settings.custom_component_configuration.configuration_details.processes
Required:
alarm_metrics
(Attributes List) A list of metrics to monitor for the component. (see below for nested schema)process_name
(String) The name of the process to be monitored for the component.component_monitoring_settings.custom_component_configuration.configuration_details.windows_events.alarm_metrics
Required:
alarm_metric_name
(String) The name of the metric to be monitored for the component.component_monitoring_settings.custom_component_configuration.configuration_details.sql_server_prometheus_exporter
Required:
prometheus_port
(String) Prometheus exporter port.sql_secret_name
(String) Secret name which managers SQL exporter connection. e.g. {"data_source_name": "sqlserver://component_monitoring_settings.custom_component_configuration.configuration_details.windows_events
Required:
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.Optional:
pattern_set
(String) The name of the log pattern set.component_monitoring_settings.custom_component_configuration.sub_component_type_configurations
Required:
sub_component_configuration_details
(Attributes) The configuration settings of sub components. (see below for nested schema)sub_component_type
(String) The sub component type.component_monitoring_settings.custom_component_configuration.sub_component_type_configurations.sub_component_configuration_details
Optional:
alarm_metrics
(Attributes List) A list of metrics to monitor for the component. (see below for nested schema)logs
(Attributes List) A list of logs to monitor for the component. (see below for nested schema)processes
(Attributes List) A list of processes to monitor for the component. Only Windows EC2 instances can have a processes section. (see below for nested schema)windows_events
(Attributes List) A list of Windows Events to log. (see below for nested schema)component_monitoring_settings.custom_component_configuration.sub_component_type_configurations.sub_component_type.alarm_metrics
Required:
alarm_metric_name
(String) The name of the metric to be monitored for the component.component_monitoring_settings.custom_component_configuration.sub_component_type_configurations.sub_component_type.logs
Required:
log_type
(String) The log type decides the log patterns against which Application Insights analyzes the log.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.pattern_set
(String) The name of the log pattern set.component_monitoring_settings.custom_component_configuration.sub_component_type_configurations.sub_component_type.processes
Required:
alarm_metrics
(Attributes List) A list of metrics to monitor for the component. (see below for nested schema)process_name
(String) The name of the process to be monitored for the component.component_monitoring_settings.custom_component_configuration.sub_component_type_configurations.sub_component_type.processes.alarm_metrics
Required:
alarm_metric_name
(String) The name of the metric to be monitored for the component.component_monitoring_settings.custom_component_configuration.sub_component_type_configurations.sub_component_type.windows_events
Required:
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.Optional:
pattern_set
(String) The name of the log pattern set.component_monitoring_settings.default_overwrite_component_configuration
Optional:
configuration_details
(Attributes) The configuration settings (see below for nested schema)sub_component_type_configurations
(Attributes List) Sub component configurations of the component. (see below for nested schema)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)alarms
(Attributes List) A list of alarms to monitor for the component. (see below for nested schema)ha_cluster_prometheus_exporter
(Attributes) The HA cluster Prometheus Exporter settings. (see below for nested schema)hana_prometheus_exporter
(Attributes) The HANA DB Prometheus Exporter settings. (see below for nested schema)jmx_prometheus_exporter
(Attributes) The JMX Prometheus Exporter settings. (see below for nested schema)logs
(Attributes List) A list of logs to monitor for the component. (see below for nested schema)net_weaver_prometheus_exporter
(Attributes) The NetWeaver Prometheus Exporter settings. (see below for nested schema)processes
(Attributes List) A list of processes to monitor for the component. Only Windows EC2 instances can have a processes section. (see below for nested schema)sql_server_prometheus_exporter
(Attributes) The SQL Prometheus Exporter settings. (see below for nested schema)windows_events
(Attributes List) A list of Windows Events to log. (see below for nested schema)component_monitoring_settings.default_overwrite_component_configuration.configuration_details.alarm_metrics
Required:
alarm_metric_name
(String) The name of the metric to be monitored for the component.component_monitoring_settings.default_overwrite_component_configuration.configuration_details.alarms
Required:
alarm_name
(String) The name of the CloudWatch alarm to be monitored for the component.Optional:
severity
(String) Indicates the degree of outage when the alarm goes off.component_monitoring_settings.default_overwrite_component_configuration.configuration_details.ha_cluster_prometheus_exporter
Optional:
prometheus_port
(String) Prometheus exporter port.component_monitoring_settings.default_overwrite_component_configuration.configuration_details.hana_prometheus_exporter
Required:
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.Optional:
prometheus_port
(String) Prometheus exporter port.component_monitoring_settings.default_overwrite_component_configuration.configuration_details.jmx_prometheus_exporter
Optional:
host_port
(String) Java agent host portjmxurl
(String) JMX service URL.prometheus_port
(String) Prometheus exporter port.component_monitoring_settings.default_overwrite_component_configuration.configuration_details.logs
Required:
log_type
(String) The log type decides the log patterns against which Application Insights analyzes the log.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.pattern_set
(String) The name of the log pattern set.component_monitoring_settings.default_overwrite_component_configuration.configuration_details.net_weaver_prometheus_exporter
Required:
instance_numbers
(List of String) SAP instance numbers for ASCS, ERS, and App Servers.sapsid
(String) SAP NetWeaver SID.Optional:
prometheus_port
(String) Prometheus exporter port.component_monitoring_settings.default_overwrite_component_configuration.configuration_details.processes
Required:
alarm_metrics
(Attributes List) A list of metrics to monitor for the component. (see below for nested schema)process_name
(String) The name of the process to be monitored for the component.component_monitoring_settings.default_overwrite_component_configuration.configuration_details.windows_events.alarm_metrics
Required:
alarm_metric_name
(String) The name of the metric to be monitored for the component.component_monitoring_settings.default_overwrite_component_configuration.configuration_details.sql_server_prometheus_exporter
Required:
prometheus_port
(String) Prometheus exporter port.sql_secret_name
(String) Secret name which managers SQL exporter connection. e.g. {"data_source_name": "sqlserver://component_monitoring_settings.default_overwrite_component_configuration.configuration_details.windows_events
Required:
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.Optional:
pattern_set
(String) The name of the log pattern set.component_monitoring_settings.default_overwrite_component_configuration.sub_component_type_configurations
Required:
sub_component_configuration_details
(Attributes) The configuration settings of sub components. (see below for nested schema)sub_component_type
(String) The sub component type.component_monitoring_settings.default_overwrite_component_configuration.sub_component_type_configurations.sub_component_configuration_details
Optional:
alarm_metrics
(Attributes List) A list of metrics to monitor for the component. (see below for nested schema)logs
(Attributes List) A list of logs to monitor for the component. (see below for nested schema)processes
(Attributes List) A list of processes to monitor for the component. Only Windows EC2 instances can have a processes section. (see below for nested schema)windows_events
(Attributes List) A list of Windows Events to log. (see below for nested schema)component_monitoring_settings.default_overwrite_component_configuration.sub_component_type_configurations.sub_component_type.alarm_metrics
Required:
alarm_metric_name
(String) The name of the metric to be monitored for the component.component_monitoring_settings.default_overwrite_component_configuration.sub_component_type_configurations.sub_component_type.logs
Required:
log_type
(String) The log type decides the log patterns against which Application Insights analyzes the log.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.pattern_set
(String) The name of the log pattern set.component_monitoring_settings.default_overwrite_component_configuration.sub_component_type_configurations.sub_component_type.processes
Required:
alarm_metrics
(Attributes List) A list of metrics to monitor for the component. (see below for nested schema)process_name
(String) The name of the process to be monitored for the component.component_monitoring_settings.default_overwrite_component_configuration.sub_component_type_configurations.sub_component_type.processes.alarm_metrics
Required:
alarm_metric_name
(String) The name of the metric to be monitored for the component.component_monitoring_settings.default_overwrite_component_configuration.sub_component_type_configurations.sub_component_type.windows_events
Required:
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.Optional:
pattern_set
(String) The name of the log pattern set.custom_components
Required:
component_name
(String) The name of the component.resource_list
(List of String) The list of resource ARNs that belong to the component.log_pattern_sets
Required:
log_patterns
(Attributes List) The log patterns of a set. (see below for nested schema)pattern_set_name
(String) The name of the log pattern set.log_pattern_sets.log_patterns
Required:
pattern
(String) The log pattern.pattern_name
(String) The name of the log pattern.rank
(Number) Rank of the log pattern.tags
Required:
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 is supported using the following syntax:
$ terraform import awscc_applicationinsights_application.example <resource ID>