CfnApplicationPropsMixin

class aws_cdk.mixins_preview.aws_applicationinsights.mixins.CfnApplicationPropsMixin(props, *, strategy=None)

Bases: Mixin

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

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-applicationinsights-application.html

CloudformationResource:

AWS::ApplicationInsights::Application

Mixin:

true

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 import mixins
from aws_cdk.mixins_preview.aws_applicationinsights import mixins as applicationinsights_mixins

cfn_application_props_mixin = applicationinsights_mixins.CfnApplicationPropsMixin(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"
    )]
),
    strategy=mixins.PropertyMergeStrategy.OVERRIDE
)

Create a mixin to apply properties to AWS::ApplicationInsights::Application.

Parameters:
  • props (Union[CfnApplicationMixinProps, Dict[str, Any]]) – L1 properties to apply.

  • strategy (Optional[PropertyMergeStrategy]) – (experimental) Strategy for merging nested properties. Default: - PropertyMergeStrategy.MERGE

Methods

apply_to(construct)

Apply the mixin properties to the construct.

Parameters:

construct (IConstruct)

Return type:

IConstruct

supports(construct)

Check if this mixin supports the given construct.

Parameters:

construct (IConstruct)

Return type:

bool

Attributes

CFN_PROPERTY_KEYS = ['attachMissingPermission', 'autoConfigurationEnabled', 'componentMonitoringSettings', 'customComponents', 'cweMonitorEnabled', 'groupingType', 'logPatternSets', 'opsCenterEnabled', 'opsItemSnsTopicArn', 'resourceGroupName', 'snsNotificationArn', 'tags']

Static Methods

classmethod is_mixin(x)

(experimental) Checks if x is a Mixin.

Parameters:

x (Any) – Any object.

Return type:

bool

Returns:

true if x is an object created from a class which extends Mixin.

Stability:

experimental

AlarmMetricProperty

class CfnApplicationPropsMixin.AlarmMetricProperty(*, alarm_metric_name=None)

Bases: object

The AWS::ApplicationInsights::Application AlarmMetric property type defines a metric to monitor for the component.

Parameters:

alarm_metric_name (Optional[str]) – The name of the metric to be monitored for the component. For metrics supported by Application Insights, see Logs and metrics supported by Amazon CloudWatch Application Insights .

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationinsights-application-alarmmetric.html

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

alarm_metric_property = applicationinsights_mixins.CfnApplicationPropsMixin.AlarmMetricProperty(
    alarm_metric_name="alarmMetricName"
)

Attributes

alarm_metric_name

The name of the metric to be monitored for the component.

For metrics supported by Application Insights, see Logs and metrics supported by Amazon CloudWatch Application Insights .

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationinsights-application-alarmmetric.html#cfn-applicationinsights-application-alarmmetric-alarmmetricname

AlarmProperty

class CfnApplicationPropsMixin.AlarmProperty(*, alarm_name=None, severity=None)

Bases: object

The AWS::ApplicationInsights::Application Alarm property type defines a CloudWatch alarm to be monitored for the component.

Parameters:
  • alarm_name (Optional[str]) – The name of the CloudWatch alarm to be monitored for the component.

  • severity (Optional[str]) – Indicates the degree of outage when the alarm goes off.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationinsights-application-alarm.html

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

alarm_property = applicationinsights_mixins.CfnApplicationPropsMixin.AlarmProperty(
    alarm_name="alarmName",
    severity="severity"
)

Attributes

alarm_name

The name of the CloudWatch alarm to be monitored for the component.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationinsights-application-alarm.html#cfn-applicationinsights-application-alarm-alarmname

severity

Indicates the degree of outage when the alarm goes off.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationinsights-application-alarm.html#cfn-applicationinsights-application-alarm-severity

ComponentConfigurationProperty

class CfnApplicationPropsMixin.ComponentConfigurationProperty(*, configuration_details=None, sub_component_type_configurations=None)

Bases: object

The AWS::ApplicationInsights::Application ComponentConfiguration property type defines the configuration settings of the component.

Parameters:
See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationinsights-application-componentconfiguration.html

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

component_configuration_property = 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"
    )]
)

Attributes

configuration_details

The configuration settings.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationinsights-application-componentconfiguration.html#cfn-applicationinsights-application-componentconfiguration-configurationdetails

sub_component_type_configurations

Sub-component configurations of the component.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationinsights-application-componentconfiguration.html#cfn-applicationinsights-application-componentconfiguration-subcomponenttypeconfigurations

ComponentMonitoringSettingProperty

class CfnApplicationPropsMixin.ComponentMonitoringSettingProperty(*, component_arn=None, component_configuration_mode=None, component_name=None, custom_component_configuration=None, default_overwrite_component_configuration=None, tier=None)

Bases: object

The AWS::ApplicationInsights::Application ComponentMonitoringSetting property type defines the monitoring setting of the component.

Parameters:
  • component_arn (Optional[str]) – The ARN of the component. Either the component ARN or the component name is required.

  • component_configuration_mode (Optional[str]) – Component monitoring can be configured in one of the following three modes:. - DEFAULT : The component will be configured with the recommended default monitoring settings of the selected Tier . - CUSTOM : The component will be configured with the customized monitoring settings that are specified in CustomComponentConfiguration . If used, CustomComponentConfiguration must be provided. - DEFAULT_WITH_OVERWRITE : The component will be configured with the recommended default monitoring settings of the selected Tier , and merged with customized overwrite settings that are specified in DefaultOverwriteComponentConfiguration . If used, DefaultOverwriteComponentConfiguration must be provided.

  • component_name (Optional[str]) – The name of the component. Either the component ARN or the component name is required.

  • custom_component_configuration (Union[IResolvable, ComponentConfigurationProperty, Dict[str, Any], None]) – Customized monitoring settings. Required if CUSTOM mode is configured in ComponentConfigurationMode .

  • default_overwrite_component_configuration (Union[IResolvable, ComponentConfigurationProperty, Dict[str, Any], None]) – Customized overwrite monitoring settings. Required if CUSTOM mode is configured in ComponentConfigurationMode .

  • tier (Optional[str]) – The tier of the application component. Supported tiers include DOT_NET_CORE , DOT_NET_WORKER , DOT_NET_WEB , SQL_SERVER , SQL_SERVER_ALWAYSON_AVAILABILITY_GROUP , SQL_SERVER_FAILOVER_CLUSTER_INSTANCE , MYSQL , POSTGRESQL , JAVA_JMX , ORACLE , SAP_HANA_MULTI_NODE , SAP_HANA_SINGLE_NODE , SAP_HANA_HIGH_AVAILABILITY , SHAREPOINT . ACTIVE_DIRECTORY , and DEFAULT .

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationinsights-application-componentmonitoringsetting.html

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

component_monitoring_setting_property = 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"
)

Attributes

component_arn

The ARN of the component.

Either the component ARN or the component name is required.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationinsights-application-componentmonitoringsetting.html#cfn-applicationinsights-application-componentmonitoringsetting-componentarn

component_configuration_mode

.

  • DEFAULT : The component will be configured with the recommended default monitoring settings of the selected Tier .

  • CUSTOM : The component will be configured with the customized monitoring settings that are specified in CustomComponentConfiguration . If used, CustomComponentConfiguration must be provided.

  • DEFAULT_WITH_OVERWRITE : The component will be configured with the recommended default monitoring settings of the selected Tier , and merged with customized overwrite settings that are specified in DefaultOverwriteComponentConfiguration . If used, DefaultOverwriteComponentConfiguration must be provided.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationinsights-application-componentmonitoringsetting.html#cfn-applicationinsights-application-componentmonitoringsetting-componentconfigurationmode

Type:

Component monitoring can be configured in one of the following three modes

component_name

The name of the component.

Either the component ARN or the component name is required.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationinsights-application-componentmonitoringsetting.html#cfn-applicationinsights-application-componentmonitoringsetting-componentname

custom_component_configuration

Customized monitoring settings.

Required if CUSTOM mode is configured in ComponentConfigurationMode .

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationinsights-application-componentmonitoringsetting.html#cfn-applicationinsights-application-componentmonitoringsetting-customcomponentconfiguration

default_overwrite_component_configuration

Customized overwrite monitoring settings.

Required if CUSTOM mode is configured in ComponentConfigurationMode .

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationinsights-application-componentmonitoringsetting.html#cfn-applicationinsights-application-componentmonitoringsetting-defaultoverwritecomponentconfiguration

tier

The tier of the application component.

Supported tiers include DOT_NET_CORE , DOT_NET_WORKER , DOT_NET_WEB , SQL_SERVER , SQL_SERVER_ALWAYSON_AVAILABILITY_GROUP , SQL_SERVER_FAILOVER_CLUSTER_INSTANCE , MYSQL , POSTGRESQL , JAVA_JMX , ORACLE , SAP_HANA_MULTI_NODE , SAP_HANA_SINGLE_NODE , SAP_HANA_HIGH_AVAILABILITY , SHAREPOINT . ACTIVE_DIRECTORY , and DEFAULT .

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationinsights-application-componentmonitoringsetting.html#cfn-applicationinsights-application-componentmonitoringsetting-tier

ConfigurationDetailsProperty

class CfnApplicationPropsMixin.ConfigurationDetailsProperty(*, alarm_metrics=None, alarms=None, ha_cluster_prometheus_exporter=None, hana_prometheus_exporter=None, jmx_prometheus_exporter=None, logs=None, net_weaver_prometheus_exporter=None, processes=None, sql_server_prometheus_exporter=None, windows_events=None)

Bases: object

The AWS::ApplicationInsights::Application ConfigurationDetails property type specifies the configuration settings.

Parameters:
See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationinsights-application-configurationdetails.html

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

configuration_details_property = 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"
    )]
)

Attributes

alarm_metrics

A list of metrics to monitor for the component.

All component types can use AlarmMetrics .

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationinsights-application-configurationdetails.html#cfn-applicationinsights-application-configurationdetails-alarmmetrics

alarms

A list of alarms to monitor for the component.

All component types can use Alarm .

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationinsights-application-configurationdetails.html#cfn-applicationinsights-application-configurationdetails-alarms

ha_cluster_prometheus_exporter

The HA cluster Prometheus Exporter settings.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationinsights-application-configurationdetails.html#cfn-applicationinsights-application-configurationdetails-haclusterprometheusexporter

hana_prometheus_exporter

The HANA DB Prometheus Exporter settings.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationinsights-application-configurationdetails.html#cfn-applicationinsights-application-configurationdetails-hanaprometheusexporter

jmx_prometheus_exporter

A list of Java metrics to monitor for the component.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationinsights-application-configurationdetails.html#cfn-applicationinsights-application-configurationdetails-jmxprometheusexporter

logs

A list of logs to monitor for the component.

Only Amazon EC2 instances can use Logs .

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationinsights-application-configurationdetails.html#cfn-applicationinsights-application-configurationdetails-logs

net_weaver_prometheus_exporter

The NetWeaver Prometheus Exporter Settings.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationinsights-application-configurationdetails.html#cfn-applicationinsights-application-configurationdetails-netweaverprometheusexporter

processes

A list of processes to monitor for the component.

Only Windows EC2 instances can have a processes section.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationinsights-application-configurationdetails.html#cfn-applicationinsights-application-configurationdetails-processes

sql_server_prometheus_exporter

The SQL prometheus exporter settings.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationinsights-application-configurationdetails.html#cfn-applicationinsights-application-configurationdetails-sqlserverprometheusexporter

windows_events

A list of Windows Events to monitor for the component.

Only Amazon EC2 instances running on Windows can use WindowsEvents .

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationinsights-application-configurationdetails.html#cfn-applicationinsights-application-configurationdetails-windowsevents

CustomComponentProperty

class CfnApplicationPropsMixin.CustomComponentProperty(*, component_name=None, resource_list=None)

Bases: object

The AWS::ApplicationInsights::Application CustomComponent property type describes a custom component by grouping similar standalone instances to monitor.

Parameters:
  • component_name (Optional[str]) – The name of the component.

  • resource_list (Optional[Sequence[str]]) – The list of resource ARNs that belong to the component.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationinsights-application-customcomponent.html

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

custom_component_property = applicationinsights_mixins.CfnApplicationPropsMixin.CustomComponentProperty(
    component_name="componentName",
    resource_list=["resourceList"]
)

Attributes

component_name

The name of the component.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationinsights-application-customcomponent.html#cfn-applicationinsights-application-customcomponent-componentname

resource_list

The list of resource ARNs that belong to the component.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationinsights-application-customcomponent.html#cfn-applicationinsights-application-customcomponent-resourcelist

HAClusterPrometheusExporterProperty

class CfnApplicationPropsMixin.HAClusterPrometheusExporterProperty(*, prometheus_port=None)

Bases: object

The AWS::ApplicationInsights::Application HAClusterPrometheusExporter property type defines the HA cluster Prometheus Exporter settings.

For more information, see the component configuration in the CloudWatch Application Insights documentation.

Parameters:

prometheus_port (Optional[str]) – The target port to which Prometheus sends metrics. If not specified, the default port 9668 is used.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationinsights-application-haclusterprometheusexporter.html

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

h_aCluster_prometheus_exporter_property = applicationinsights_mixins.CfnApplicationPropsMixin.HAClusterPrometheusExporterProperty(
    prometheus_port="prometheusPort"
)

Attributes

prometheus_port

The target port to which Prometheus sends metrics.

If not specified, the default port 9668 is used.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationinsights-application-haclusterprometheusexporter.html#cfn-applicationinsights-application-haclusterprometheusexporter-prometheusport

HANAPrometheusExporterProperty

class CfnApplicationPropsMixin.HANAPrometheusExporterProperty(*, agree_to_install_hanadb_client=None, hana_port=None, hana_secret_name=None, hanasid=None, prometheus_port=None)

Bases: object

The AWS::ApplicationInsights::Application HANAPrometheusExporter property type defines the HANA DB Prometheus Exporter settings.

For more information, see the component configuration in the CloudWatch Application Insights documentation.

Parameters:
  • agree_to_install_hanadb_client (Union[bool, IResolvable, None]) – Designates whether you agree to install the HANA DB client.

  • hana_port (Optional[str]) – The HANA database port by which the exporter will query HANA metrics.

  • hana_secret_name (Optional[str]) – The AWS Secrets Manager secret that stores HANA monitoring user credentials. The HANA Prometheus exporter uses these credentials to connect to the database and query HANA metrics.

  • hanasid (Optional[str]) – The three-character SAP system ID (SID) of the SAP HANA system.

  • prometheus_port (Optional[str]) – The target port to which Prometheus sends metrics. If not specified, the default port 9668 is used.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationinsights-application-hanaprometheusexporter.html

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

h_aNAPrometheus_exporter_property = applicationinsights_mixins.CfnApplicationPropsMixin.HANAPrometheusExporterProperty(
    agree_to_install_hanadb_client=False,
    hana_port="hanaPort",
    hana_secret_name="hanaSecretName",
    hanasid="hanasid",
    prometheus_port="prometheusPort"
)

Attributes

agree_to_install_hanadb_client

Designates whether you agree to install the HANA DB client.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationinsights-application-hanaprometheusexporter.html#cfn-applicationinsights-application-hanaprometheusexporter-agreetoinstallhanadbclient

hana_port

The HANA database port by which the exporter will query HANA metrics.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationinsights-application-hanaprometheusexporter.html#cfn-applicationinsights-application-hanaprometheusexporter-hanaport

hana_secret_name

The AWS Secrets Manager secret that stores HANA monitoring user credentials.

The HANA Prometheus exporter uses these credentials to connect to the database and query HANA metrics.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationinsights-application-hanaprometheusexporter.html#cfn-applicationinsights-application-hanaprometheusexporter-hanasecretname

hanasid

The three-character SAP system ID (SID) of the SAP HANA system.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationinsights-application-hanaprometheusexporter.html#cfn-applicationinsights-application-hanaprometheusexporter-hanasid

prometheus_port

The target port to which Prometheus sends metrics.

If not specified, the default port 9668 is used.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationinsights-application-hanaprometheusexporter.html#cfn-applicationinsights-application-hanaprometheusexporter-prometheusport

JMXPrometheusExporterProperty

class CfnApplicationPropsMixin.JMXPrometheusExporterProperty(*, host_port=None, jmxurl=None, prometheus_port=None)

Bases: object

The AWS::ApplicationInsights::Application JMXPrometheusExporter property type defines the JMXPrometheus Exporter configuration.

For more information, see the component configuration in the CloudWatch Application Insights documentation.

Parameters:
  • host_port (Optional[str]) – The host and port to connect to through remote JMX. Only one of jmxURL and hostPort can be specified.

  • jmxurl (Optional[str]) – The complete JMX URL to connect to.

  • prometheus_port (Optional[str]) – The target port to send Prometheus metrics to. If not specified, the default port 9404 is used.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationinsights-application-jmxprometheusexporter.html

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

j_mXPrometheus_exporter_property = applicationinsights_mixins.CfnApplicationPropsMixin.JMXPrometheusExporterProperty(
    host_port="hostPort",
    jmxurl="jmxurl",
    prometheus_port="prometheusPort"
)

Attributes

host_port

The host and port to connect to through remote JMX.

Only one of jmxURL and hostPort can be specified.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationinsights-application-jmxprometheusexporter.html#cfn-applicationinsights-application-jmxprometheusexporter-hostport

jmxurl

The complete JMX URL to connect to.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationinsights-application-jmxprometheusexporter.html#cfn-applicationinsights-application-jmxprometheusexporter-jmxurl

prometheus_port

The target port to send Prometheus metrics to.

If not specified, the default port 9404 is used.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationinsights-application-jmxprometheusexporter.html#cfn-applicationinsights-application-jmxprometheusexporter-prometheusport

LogPatternProperty

class CfnApplicationPropsMixin.LogPatternProperty(*, pattern=None, pattern_name=None, rank=None)

Bases: object

The AWS::ApplicationInsights::Application LogPattern property type specifies an object that defines the log patterns that belong to a LogPatternSet .

Parameters:
  • pattern (Optional[str]) – A regular expression that defines the log pattern. A log pattern can contain up to 50 characters, and it cannot be empty.

  • pattern_name (Optional[str]) – The name of the log pattern. A log pattern name can contain up to 50 characters, and it cannot be empty. The characters can be Unicode letters, digits, or one of the following symbols: period, dash, underscore.

  • rank (Union[int, float, None]) – The rank of the log pattern.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationinsights-application-logpattern.html

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

log_pattern_property = applicationinsights_mixins.CfnApplicationPropsMixin.LogPatternProperty(
    pattern="pattern",
    pattern_name="patternName",
    rank=123
)

Attributes

pattern

A regular expression that defines the log pattern.

A log pattern can contain up to 50 characters, and it cannot be empty.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationinsights-application-logpattern.html#cfn-applicationinsights-application-logpattern-pattern

pattern_name

The name of the log pattern.

A log pattern name can contain up to 50 characters, and it cannot be empty. The characters can be Unicode letters, digits, or one of the following symbols: period, dash, underscore.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationinsights-application-logpattern.html#cfn-applicationinsights-application-logpattern-patternname

rank

The rank of the log pattern.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationinsights-application-logpattern.html#cfn-applicationinsights-application-logpattern-rank

LogPatternSetProperty

class CfnApplicationPropsMixin.LogPatternSetProperty(*, log_patterns=None, pattern_set_name=None)

Bases: object

The AWS::ApplicationInsights::Application LogPatternSet property type specifies the log pattern set.

Parameters:
  • log_patterns (Union[IResolvable, Sequence[Union[IResolvable, LogPatternProperty, Dict[str, Any]]], None]) – A list of objects that define the log patterns that belong to LogPatternSet .

  • pattern_set_name (Optional[str]) – The name of the log pattern. A log pattern name can contain up to 30 characters, and it cannot be empty. The characters can be Unicode letters, digits, or one of the following symbols: period, dash, underscore.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationinsights-application-logpatternset.html

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

log_pattern_set_property = applicationinsights_mixins.CfnApplicationPropsMixin.LogPatternSetProperty(
    log_patterns=[applicationinsights_mixins.CfnApplicationPropsMixin.LogPatternProperty(
        pattern="pattern",
        pattern_name="patternName",
        rank=123
    )],
    pattern_set_name="patternSetName"
)

Attributes

log_patterns

A list of objects that define the log patterns that belong to LogPatternSet .

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationinsights-application-logpatternset.html#cfn-applicationinsights-application-logpatternset-logpatterns

pattern_set_name

The name of the log pattern.

A log pattern name can contain up to 30 characters, and it cannot be empty. The characters can be Unicode letters, digits, or one of the following symbols: period, dash, underscore.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationinsights-application-logpatternset.html#cfn-applicationinsights-application-logpatternset-patternsetname

LogProperty

class CfnApplicationPropsMixin.LogProperty(*, encoding=None, log_group_name=None, log_path=None, log_type=None, pattern_set=None)

Bases: object

The AWS::ApplicationInsights::Application Log property type specifies a log to monitor for the component.

Parameters:
  • encoding (Optional[str]) – The type of encoding of the logs to be monitored. The specified encoding should be included in the list of CloudWatch agent supported encodings. If not provided, CloudWatch Application Insights uses the default encoding type for the log type: - APPLICATION/DEFAULT : utf-8 encoding - SQL_SERVER : utf-16 encoding - IIS : ascii encoding

  • log_group_name (Optional[str]) – The CloudWatch log group name to be associated with the monitored log.

  • log_path (Optional[str]) – The path of the logs to be monitored. The log path must be an absolute Windows or Linux system file path. For more information, see CloudWatch Agent Configuration File: Logs Section .

  • log_type (Optional[str]) – The log type decides the log patterns against which Application Insights analyzes the log. The log type is selected from the following: SQL_SERVER , MYSQL , MYSQL_SLOW_QUERY , POSTGRESQL , ORACLE_ALERT , ORACLE_LISTENER , IIS , APPLICATION , WINDOWS_EVENTS , WINDOWS_EVENTS_ACTIVE_DIRECTORY , WINDOWS_EVENTS_DNS , WINDOWS_EVENTS_IIS , WINDOWS_EVENTS_SHAREPOINT , SQL_SERVER_ALWAYSON_AVAILABILITY_GROUP , SQL_SERVER_FAILOVER_CLUSTER_INSTANCE , STEP_FUNCTION , API_GATEWAY_ACCESS , API_GATEWAY_EXECUTION , SAP_HANA_LOGS , SAP_HANA_TRACE , SAP_HANA_HIGH_AVAILABILITY , and DEFAULT .

  • pattern_set (Optional[str]) – The log pattern set.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationinsights-application-log.html

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

log_property = applicationinsights_mixins.CfnApplicationPropsMixin.LogProperty(
    encoding="encoding",
    log_group_name="logGroupName",
    log_path="logPath",
    log_type="logType",
    pattern_set="patternSet"
)

Attributes

encoding

The type of encoding of the logs to be monitored.

The specified encoding should be included in the list of CloudWatch agent supported encodings. If not provided, CloudWatch Application Insights uses the default encoding type for the log type:

  • APPLICATION/DEFAULT : utf-8 encoding

  • SQL_SERVER : utf-16 encoding

  • IIS : ascii encoding

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationinsights-application-log.html#cfn-applicationinsights-application-log-encoding

log_group_name

The CloudWatch log group name to be associated with the monitored log.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationinsights-application-log.html#cfn-applicationinsights-application-log-loggroupname

log_path

The path of the logs to be monitored.

The log path must be an absolute Windows or Linux system file path. For more information, see CloudWatch Agent Configuration File: Logs Section .

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationinsights-application-log.html#cfn-applicationinsights-application-log-logpath

log_type

The log type decides the log patterns against which Application Insights analyzes the log.

The log type is selected from the following: SQL_SERVER , MYSQL , MYSQL_SLOW_QUERY , POSTGRESQL , ORACLE_ALERT , ORACLE_LISTENER , IIS , APPLICATION , WINDOWS_EVENTS , WINDOWS_EVENTS_ACTIVE_DIRECTORY , WINDOWS_EVENTS_DNS , WINDOWS_EVENTS_IIS , WINDOWS_EVENTS_SHAREPOINT , SQL_SERVER_ALWAYSON_AVAILABILITY_GROUP , SQL_SERVER_FAILOVER_CLUSTER_INSTANCE , STEP_FUNCTION , API_GATEWAY_ACCESS , API_GATEWAY_EXECUTION , SAP_HANA_LOGS , SAP_HANA_TRACE , SAP_HANA_HIGH_AVAILABILITY , and DEFAULT .

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationinsights-application-log.html#cfn-applicationinsights-application-log-logtype

pattern_set

The log pattern set.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationinsights-application-log.html#cfn-applicationinsights-application-log-patternset

NetWeaverPrometheusExporterProperty

class CfnApplicationPropsMixin.NetWeaverPrometheusExporterProperty(*, instance_numbers=None, prometheus_port=None, sapsid=None)

Bases: object

The NetWeaver Prometheus Exporter Settings.

Parameters:
  • instance_numbers (Optional[Sequence[str]]) – SAP instance numbers for ASCS, ERS, and App Servers.

  • prometheus_port (Optional[str]) – Prometheus exporter port.

  • sapsid (Optional[str]) – SAP NetWeaver SID.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationinsights-application-netweaverprometheusexporter.html

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

net_weaver_prometheus_exporter_property = applicationinsights_mixins.CfnApplicationPropsMixin.NetWeaverPrometheusExporterProperty(
    instance_numbers=["instanceNumbers"],
    prometheus_port="prometheusPort",
    sapsid="sapsid"
)

Attributes

instance_numbers

SAP instance numbers for ASCS, ERS, and App Servers.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationinsights-application-netweaverprometheusexporter.html#cfn-applicationinsights-application-netweaverprometheusexporter-instancenumbers

prometheus_port

Prometheus exporter port.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationinsights-application-netweaverprometheusexporter.html#cfn-applicationinsights-application-netweaverprometheusexporter-prometheusport

sapsid

SAP NetWeaver SID.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationinsights-application-netweaverprometheusexporter.html#cfn-applicationinsights-application-netweaverprometheusexporter-sapsid

ProcessProperty

class CfnApplicationPropsMixin.ProcessProperty(*, alarm_metrics=None, process_name=None)

Bases: object

A process to be monitored for the component.

Parameters:
  • alarm_metrics (Union[IResolvable, Sequence[Union[IResolvable, AlarmMetricProperty, Dict[str, Any]]], None]) – A list of metrics to monitor for the component.

  • process_name (Optional[str]) – The name of the process to be monitored for the component.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationinsights-application-process.html

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

process_property = applicationinsights_mixins.CfnApplicationPropsMixin.ProcessProperty(
    alarm_metrics=[applicationinsights_mixins.CfnApplicationPropsMixin.AlarmMetricProperty(
        alarm_metric_name="alarmMetricName"
    )],
    process_name="processName"
)

Attributes

alarm_metrics

A list of metrics to monitor for the component.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationinsights-application-process.html#cfn-applicationinsights-application-process-alarmmetrics

process_name

The name of the process to be monitored for the component.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationinsights-application-process.html#cfn-applicationinsights-application-process-processname

SQLServerPrometheusExporterProperty

class CfnApplicationPropsMixin.SQLServerPrometheusExporterProperty(*, prometheus_port=None, sql_secret_name=None)

Bases: object

The SQL prometheus exporter settings.

Parameters:
  • prometheus_port (Optional[str]) – Prometheus exporter port.

  • sql_secret_name (Optional[str]) – Secret name which managers SQL exporter connection. e.g. {“data_source_name”: “sqlserver://:@localhost:1433”}

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationinsights-application-sqlserverprometheusexporter.html

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

s_qLServer_prometheus_exporter_property = applicationinsights_mixins.CfnApplicationPropsMixin.SQLServerPrometheusExporterProperty(
    prometheus_port="prometheusPort",
    sql_secret_name="sqlSecretName"
)

Attributes

prometheus_port

Prometheus exporter port.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationinsights-application-sqlserverprometheusexporter.html#cfn-applicationinsights-application-sqlserverprometheusexporter-prometheusport

sql_secret_name

Secret name which managers SQL exporter connection.

e.g. {“data_source_name”: “sqlserver://:@localhost:1433”}

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationinsights-application-sqlserverprometheusexporter.html#cfn-applicationinsights-application-sqlserverprometheusexporter-sqlsecretname

SubComponentConfigurationDetailsProperty

class CfnApplicationPropsMixin.SubComponentConfigurationDetailsProperty(*, alarm_metrics=None, logs=None, processes=None, windows_events=None)

Bases: object

The AWS::ApplicationInsights::Application SubComponentConfigurationDetails property type specifies the configuration settings of the sub-components.

Parameters:
  • alarm_metrics (Union[IResolvable, Sequence[Union[IResolvable, AlarmMetricProperty, Dict[str, Any]]], None]) – A list of metrics to monitor for the component. All component types can use AlarmMetrics .

  • logs (Union[IResolvable, Sequence[Union[IResolvable, LogProperty, Dict[str, Any]]], None]) – A list of logs to monitor for the component. Only Amazon EC2 instances can use Logs .

  • processes (Union[IResolvable, Sequence[Union[IResolvable, ProcessProperty, Dict[str, Any]]], None]) – A list of processes to monitor for the component. Only Windows EC2 instances can have a processes section.

  • windows_events (Union[IResolvable, Sequence[Union[IResolvable, WindowsEventProperty, Dict[str, Any]]], None]) – A list of Windows Events to monitor for the component. Only Amazon EC2 instances running on Windows can use WindowsEvents .

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationinsights-application-subcomponentconfigurationdetails.html

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

sub_component_configuration_details_property = 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"
    )]
)

Attributes

alarm_metrics

A list of metrics to monitor for the component.

All component types can use AlarmMetrics .

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationinsights-application-subcomponentconfigurationdetails.html#cfn-applicationinsights-application-subcomponentconfigurationdetails-alarmmetrics

logs

A list of logs to monitor for the component.

Only Amazon EC2 instances can use Logs .

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationinsights-application-subcomponentconfigurationdetails.html#cfn-applicationinsights-application-subcomponentconfigurationdetails-logs

processes

A list of processes to monitor for the component.

Only Windows EC2 instances can have a processes section.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationinsights-application-subcomponentconfigurationdetails.html#cfn-applicationinsights-application-subcomponentconfigurationdetails-processes

windows_events

A list of Windows Events to monitor for the component.

Only Amazon EC2 instances running on Windows can use WindowsEvents .

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationinsights-application-subcomponentconfigurationdetails.html#cfn-applicationinsights-application-subcomponentconfigurationdetails-windowsevents

SubComponentTypeConfigurationProperty

class CfnApplicationPropsMixin.SubComponentTypeConfigurationProperty(*, sub_component_configuration_details=None, sub_component_type=None)

Bases: object

The AWS::ApplicationInsights::Application SubComponentTypeConfiguration property type specifies the sub-component configurations for a component.

Parameters:
See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationinsights-application-subcomponenttypeconfiguration.html

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

sub_component_type_configuration_property = 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"
)

Attributes

sub_component_configuration_details

The configuration settings of the sub-components.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationinsights-application-subcomponenttypeconfiguration.html#cfn-applicationinsights-application-subcomponenttypeconfiguration-subcomponentconfigurationdetails

sub_component_type

The sub-component type.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationinsights-application-subcomponenttypeconfiguration.html#cfn-applicationinsights-application-subcomponenttypeconfiguration-subcomponenttype

WindowsEventProperty

class CfnApplicationPropsMixin.WindowsEventProperty(*, event_levels=None, event_name=None, log_group_name=None, pattern_set=None)

Bases: object

The AWS::ApplicationInsights::Application WindowsEvent property type specifies a Windows Event to monitor for the component.

Parameters:
  • event_levels (Optional[Sequence[str]]) – The levels of event to log. You must specify each level to log. Possible values include INFORMATION , WARNING , ERROR , CRITICAL , and VERBOSE . This field is required for each type of Windows Event to log.

  • event_name (Optional[str]) – The type of Windows Events to log, equivalent to the Windows Event log channel name. For example, System, Security, CustomEventName, and so on. This field is required for each type of Windows event to log.

  • log_group_name (Optional[str]) – The CloudWatch log group name to be associated with the monitored log.

  • pattern_set (Optional[str]) – The log pattern set.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationinsights-application-windowsevent.html

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

windows_event_property = applicationinsights_mixins.CfnApplicationPropsMixin.WindowsEventProperty(
    event_levels=["eventLevels"],
    event_name="eventName",
    log_group_name="logGroupName",
    pattern_set="patternSet"
)

Attributes

event_levels

The levels of event to log.

You must specify each level to log. Possible values include INFORMATION , WARNING , ERROR , CRITICAL , and VERBOSE . This field is required for each type of Windows Event to log.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationinsights-application-windowsevent.html#cfn-applicationinsights-application-windowsevent-eventlevels

event_name

The type of Windows Events to log, equivalent to the Windows Event log channel name.

For example, System, Security, CustomEventName, and so on. This field is required for each type of Windows event to log.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationinsights-application-windowsevent.html#cfn-applicationinsights-application-windowsevent-eventname

log_group_name

The CloudWatch log group name to be associated with the monitored log.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationinsights-application-windowsevent.html#cfn-applicationinsights-application-windowsevent-loggroupname

pattern_set

The log pattern set.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationinsights-application-windowsevent.html#cfn-applicationinsights-application-windowsevent-patternset