CfnApplicationMixinProps
- class aws_cdk.mixins_preview.aws_applicationinsights.mixins.CfnApplicationMixinProps(*, attach_missing_permission=None, auto_configuration_enabled=None, component_monitoring_settings=None, custom_components=None, cwe_monitor_enabled=None, grouping_type=None, log_pattern_sets=None, ops_center_enabled=None, ops_item_sns_topic_arn=None, resource_group_name=None, sns_notification_arn=None, tags=None)
Bases:
objectProperties for CfnApplicationPropsMixin.
- Parameters:
attach_missing_permission (
Union[bool,IResolvable,None]) – If set to true, the managed policies for SSM and CW will be attached to the instance roles if they are missing.auto_configuration_enabled (
Union[bool,IResolvable,None]) – If set totrue, the application components will be configured with the monitoring configuration recommended by Application Insights.component_monitoring_settings (
Union[IResolvable,Sequence[Union[IResolvable,ComponentMonitoringSettingProperty,Dict[str,Any]]],None]) – The monitoring settings of the components. Not required to set up default monitoring for all components. To set up default monitoring for all components, setAutoConfigurationEnabledtotrue.custom_components (
Union[IResolvable,Sequence[Union[IResolvable,CustomComponentProperty,Dict[str,Any]]],None]) – Describes a custom component by grouping similar standalone instances to monitor.cwe_monitor_enabled (
Union[bool,IResolvable,None]) – Indicates whether Application Insights can listen to CloudWatch events for the application resources, such asinstance terminated,failed deployment, and others.grouping_type (
Optional[str]) – 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 toACCOUNT_BASED.log_pattern_sets (
Union[IResolvable,Sequence[Union[IResolvable,LogPatternSetProperty,Dict[str,Any]]],None]) – The log pattern sets.ops_center_enabled (
Union[bool,IResolvable,None]) – Indicates whether Application Insights will create OpsItems for any problem that is detected by Application Insights for an application.ops_item_sns_topic_arn (
Optional[str]) – The SNS topic provided to Application Insights that is associated with the created OpsItems to receive SNS notifications for opsItem updates.resource_group_name (
Optional[str]) – The name of the resource group used for the application.sns_notification_arn (
Optional[str]) – The SNS topic ARN that is associated with SNS notifications for updates or issues.tags (
Optional[Sequence[Union[CfnTag,Dict[str,Any]]]]) – An array ofTags.
- See:
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk.mixins_preview.aws_applicationinsights import mixins as applicationinsights_mixins cfn_application_mixin_props = applicationinsights_mixins.CfnApplicationMixinProps( attach_missing_permission=False, auto_configuration_enabled=False, component_monitoring_settings=[applicationinsights_mixins.CfnApplicationPropsMixin.ComponentMonitoringSettingProperty( component_arn="componentArn", component_configuration_mode="componentConfigurationMode", component_name="componentName", custom_component_configuration=applicationinsights_mixins.CfnApplicationPropsMixin.ComponentConfigurationProperty( configuration_details=applicationinsights_mixins.CfnApplicationPropsMixin.ConfigurationDetailsProperty( alarm_metrics=[applicationinsights_mixins.CfnApplicationPropsMixin.AlarmMetricProperty( alarm_metric_name="alarmMetricName" )], alarms=[applicationinsights_mixins.CfnApplicationPropsMixin.AlarmProperty( alarm_name="alarmName", severity="severity" )], ha_cluster_prometheus_exporter=applicationinsights_mixins.CfnApplicationPropsMixin.HAClusterPrometheusExporterProperty( prometheus_port="prometheusPort" ), hana_prometheus_exporter=applicationinsights_mixins.CfnApplicationPropsMixin.HANAPrometheusExporterProperty( agree_to_install_hanadb_client=False, hana_port="hanaPort", hana_secret_name="hanaSecretName", hanasid="hanasid", prometheus_port="prometheusPort" ), jmx_prometheus_exporter=applicationinsights_mixins.CfnApplicationPropsMixin.JMXPrometheusExporterProperty( host_port="hostPort", jmxurl="jmxurl", prometheus_port="prometheusPort" ), logs=[applicationinsights_mixins.CfnApplicationPropsMixin.LogProperty( encoding="encoding", log_group_name="logGroupName", log_path="logPath", log_type="logType", pattern_set="patternSet" )], net_weaver_prometheus_exporter=applicationinsights_mixins.CfnApplicationPropsMixin.NetWeaverPrometheusExporterProperty( instance_numbers=["instanceNumbers"], prometheus_port="prometheusPort", sapsid="sapsid" ), processes=[applicationinsights_mixins.CfnApplicationPropsMixin.ProcessProperty( alarm_metrics=[applicationinsights_mixins.CfnApplicationPropsMixin.AlarmMetricProperty( alarm_metric_name="alarmMetricName" )], process_name="processName" )], sql_server_prometheus_exporter=applicationinsights_mixins.CfnApplicationPropsMixin.SQLServerPrometheusExporterProperty( prometheus_port="prometheusPort", sql_secret_name="sqlSecretName" ), windows_events=[applicationinsights_mixins.CfnApplicationPropsMixin.WindowsEventProperty( event_levels=["eventLevels"], event_name="eventName", log_group_name="logGroupName", pattern_set="patternSet" )] ), sub_component_type_configurations=[applicationinsights_mixins.CfnApplicationPropsMixin.SubComponentTypeConfigurationProperty( sub_component_configuration_details=applicationinsights_mixins.CfnApplicationPropsMixin.SubComponentConfigurationDetailsProperty( alarm_metrics=[applicationinsights_mixins.CfnApplicationPropsMixin.AlarmMetricProperty( alarm_metric_name="alarmMetricName" )], logs=[applicationinsights_mixins.CfnApplicationPropsMixin.LogProperty( encoding="encoding", log_group_name="logGroupName", log_path="logPath", log_type="logType", pattern_set="patternSet" )], processes=[applicationinsights_mixins.CfnApplicationPropsMixin.ProcessProperty( alarm_metrics=[applicationinsights_mixins.CfnApplicationPropsMixin.AlarmMetricProperty( alarm_metric_name="alarmMetricName" )], process_name="processName" )], windows_events=[applicationinsights_mixins.CfnApplicationPropsMixin.WindowsEventProperty( event_levels=["eventLevels"], event_name="eventName", log_group_name="logGroupName", pattern_set="patternSet" )] ), sub_component_type="subComponentType" )] ), default_overwrite_component_configuration=applicationinsights_mixins.CfnApplicationPropsMixin.ComponentConfigurationProperty( configuration_details=applicationinsights_mixins.CfnApplicationPropsMixin.ConfigurationDetailsProperty( alarm_metrics=[applicationinsights_mixins.CfnApplicationPropsMixin.AlarmMetricProperty( alarm_metric_name="alarmMetricName" )], alarms=[applicationinsights_mixins.CfnApplicationPropsMixin.AlarmProperty( alarm_name="alarmName", severity="severity" )], ha_cluster_prometheus_exporter=applicationinsights_mixins.CfnApplicationPropsMixin.HAClusterPrometheusExporterProperty( prometheus_port="prometheusPort" ), hana_prometheus_exporter=applicationinsights_mixins.CfnApplicationPropsMixin.HANAPrometheusExporterProperty( agree_to_install_hanadb_client=False, hana_port="hanaPort", hana_secret_name="hanaSecretName", hanasid="hanasid", prometheus_port="prometheusPort" ), jmx_prometheus_exporter=applicationinsights_mixins.CfnApplicationPropsMixin.JMXPrometheusExporterProperty( host_port="hostPort", jmxurl="jmxurl", prometheus_port="prometheusPort" ), logs=[applicationinsights_mixins.CfnApplicationPropsMixin.LogProperty( encoding="encoding", log_group_name="logGroupName", log_path="logPath", log_type="logType", pattern_set="patternSet" )], net_weaver_prometheus_exporter=applicationinsights_mixins.CfnApplicationPropsMixin.NetWeaverPrometheusExporterProperty( instance_numbers=["instanceNumbers"], prometheus_port="prometheusPort", sapsid="sapsid" ), processes=[applicationinsights_mixins.CfnApplicationPropsMixin.ProcessProperty( alarm_metrics=[applicationinsights_mixins.CfnApplicationPropsMixin.AlarmMetricProperty( alarm_metric_name="alarmMetricName" )], process_name="processName" )], sql_server_prometheus_exporter=applicationinsights_mixins.CfnApplicationPropsMixin.SQLServerPrometheusExporterProperty( prometheus_port="prometheusPort", sql_secret_name="sqlSecretName" ), windows_events=[applicationinsights_mixins.CfnApplicationPropsMixin.WindowsEventProperty( event_levels=["eventLevels"], event_name="eventName", log_group_name="logGroupName", pattern_set="patternSet" )] ), sub_component_type_configurations=[applicationinsights_mixins.CfnApplicationPropsMixin.SubComponentTypeConfigurationProperty( sub_component_configuration_details=applicationinsights_mixins.CfnApplicationPropsMixin.SubComponentConfigurationDetailsProperty( alarm_metrics=[applicationinsights_mixins.CfnApplicationPropsMixin.AlarmMetricProperty( alarm_metric_name="alarmMetricName" )], logs=[applicationinsights_mixins.CfnApplicationPropsMixin.LogProperty( encoding="encoding", log_group_name="logGroupName", log_path="logPath", log_type="logType", pattern_set="patternSet" )], processes=[applicationinsights_mixins.CfnApplicationPropsMixin.ProcessProperty( alarm_metrics=[applicationinsights_mixins.CfnApplicationPropsMixin.AlarmMetricProperty( alarm_metric_name="alarmMetricName" )], process_name="processName" )], windows_events=[applicationinsights_mixins.CfnApplicationPropsMixin.WindowsEventProperty( event_levels=["eventLevels"], event_name="eventName", log_group_name="logGroupName", pattern_set="patternSet" )] ), sub_component_type="subComponentType" )] ), tier="tier" )], custom_components=[applicationinsights_mixins.CfnApplicationPropsMixin.CustomComponentProperty( component_name="componentName", resource_list=["resourceList"] )], cwe_monitor_enabled=False, grouping_type="groupingType", log_pattern_sets=[applicationinsights_mixins.CfnApplicationPropsMixin.LogPatternSetProperty( log_patterns=[applicationinsights_mixins.CfnApplicationPropsMixin.LogPatternProperty( pattern="pattern", pattern_name="patternName", rank=123 )], pattern_set_name="patternSetName" )], ops_center_enabled=False, ops_item_sns_topic_arn="opsItemSnsTopicArn", resource_group_name="resourceGroupName", sns_notification_arn="snsNotificationArn", tags=[CfnTag( key="key", value="value" )] )
Attributes
- attach_missing_permission
If set to true, the managed policies for SSM and CW will be attached to the instance roles if they are missing.
- auto_configuration_enabled
If set to
true, the application components will be configured with the monitoring configuration recommended by Application Insights.
- component_monitoring_settings
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
AutoConfigurationEnabledtotrue.
- custom_components
Describes a custom component by grouping similar standalone instances to monitor.
- cwe_monitor_enabled
Indicates whether Application Insights can listen to CloudWatch events for the application resources, such as
instance terminated,failed deployment, and others.
- grouping_type
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.
- log_pattern_sets
The log pattern sets.
- ops_center_enabled
Indicates whether Application Insights will create OpsItems for any problem that is detected by Application Insights for an application.
- ops_item_sns_topic_arn
The SNS topic provided to Application Insights that is associated with the created OpsItems to receive SNS notifications for opsItem updates.
- resource_group_name
The name of the resource group used for the application.
- sns_notification_arn
The SNS topic ARN that is associated with SNS notifications for updates or issues.