Source code for troposphere.applicationinsights

# Copyright (c) 2012-2024, Mark Peek <mark@peek.org>
# All rights reserved.
#
# See LICENSE file for full license.
#
# *** Do not modify - this file is autogenerated ***


from . import AWSObject, AWSProperty, PropsDictType, Tags
from .validators import boolean, integer


[docs]class Alarm(AWSProperty): """ `Alarm <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationinsights-application-alarm.html>`__ """ props: PropsDictType = { "AlarmName": (str, True), "Severity": (str, False), }
[docs]class AlarmMetric(AWSProperty): """ `AlarmMetric <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationinsights-application-alarmmetric.html>`__ """ props: PropsDictType = { "AlarmMetricName": (str, True), }
[docs]class HAClusterPrometheusExporter(AWSProperty): """ `HAClusterPrometheusExporter <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationinsights-application-haclusterprometheusexporter.html>`__ """ props: PropsDictType = { "PrometheusPort": (str, False), }
[docs]class HANAPrometheusExporter(AWSProperty): """ `HANAPrometheusExporter <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationinsights-application-hanaprometheusexporter.html>`__ """ props: PropsDictType = { "AgreeToInstallHANADBClient": (boolean, True), "HANAPort": (str, True), "HANASID": (str, True), "HANASecretName": (str, True), "PrometheusPort": (str, False), }
[docs]class JMXPrometheusExporter(AWSProperty): """ `JMXPrometheusExporter <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationinsights-application-jmxprometheusexporter.html>`__ """ props: PropsDictType = { "HostPort": (str, False), "JMXURL": (str, False), "PrometheusPort": (str, False), }
[docs]class Log(AWSProperty): """ `Log <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationinsights-application-log.html>`__ """ props: PropsDictType = { "Encoding": (str, False), "LogGroupName": (str, False), "LogPath": (str, False), "LogType": (str, True), "PatternSet": (str, False), }
[docs]class NetWeaverPrometheusExporter(AWSProperty): """ `NetWeaverPrometheusExporter <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationinsights-application-netweaverprometheusexporter.html>`__ """ props: PropsDictType = { "InstanceNumbers": ([str], True), "PrometheusPort": (str, False), "SAPSID": (str, True), }
[docs]class Process(AWSProperty): """ `Process <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationinsights-application-process.html>`__ """ props: PropsDictType = { "AlarmMetrics": ([AlarmMetric], True), "ProcessName": (str, True), }
[docs]class SQLServerPrometheusExporter(AWSProperty): """ `SQLServerPrometheusExporter <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationinsights-application-sqlserverprometheusexporter.html>`__ """ props: PropsDictType = { "PrometheusPort": (str, True), "SQLSecretName": (str, True), }
[docs]class WindowsEvent(AWSProperty): """ `WindowsEvent <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationinsights-application-windowsevent.html>`__ """ props: PropsDictType = { "EventLevels": ([str], True), "EventName": (str, True), "LogGroupName": (str, True), "PatternSet": (str, False), }
[docs]class ConfigurationDetails(AWSProperty): """ `ConfigurationDetails <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationinsights-application-configurationdetails.html>`__ """ props: PropsDictType = { "AlarmMetrics": ([AlarmMetric], False), "Alarms": ([Alarm], False), "HAClusterPrometheusExporter": (HAClusterPrometheusExporter, False), "HANAPrometheusExporter": (HANAPrometheusExporter, False), "JMXPrometheusExporter": (JMXPrometheusExporter, False), "Logs": ([Log], False), "NetWeaverPrometheusExporter": (NetWeaverPrometheusExporter, False), "Processes": ([Process], False), "SQLServerPrometheusExporter": (SQLServerPrometheusExporter, False), "WindowsEvents": ([WindowsEvent], False), }
[docs]class SubComponentConfigurationDetails(AWSProperty): """ `SubComponentConfigurationDetails <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationinsights-application-subcomponentconfigurationdetails.html>`__ """ props: PropsDictType = { "AlarmMetrics": ([AlarmMetric], False), "Logs": ([Log], False), "Processes": ([Process], False), "WindowsEvents": ([WindowsEvent], False), }
[docs]class SubComponentTypeConfiguration(AWSProperty): """ `SubComponentTypeConfiguration <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationinsights-application-subcomponenttypeconfiguration.html>`__ """ props: PropsDictType = { "SubComponentConfigurationDetails": (SubComponentConfigurationDetails, True), "SubComponentType": (str, True), }
[docs]class ComponentConfiguration(AWSProperty): """ `ComponentConfiguration <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationinsights-application-componentconfiguration.html>`__ """ props: PropsDictType = { "ConfigurationDetails": (ConfigurationDetails, False), "SubComponentTypeConfigurations": ([SubComponentTypeConfiguration], False), }
[docs]class ComponentMonitoringSetting(AWSProperty): """ `ComponentMonitoringSetting <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationinsights-application-componentmonitoringsetting.html>`__ """ props: PropsDictType = { "ComponentARN": (str, False), "ComponentConfigurationMode": (str, True), "ComponentName": (str, False), "CustomComponentConfiguration": (ComponentConfiguration, False), "DefaultOverwriteComponentConfiguration": (ComponentConfiguration, False), "Tier": (str, True), }
[docs]class CustomComponent(AWSProperty): """ `CustomComponent <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationinsights-application-customcomponent.html>`__ """ props: PropsDictType = { "ComponentName": (str, True), "ResourceList": ([str], True), }
[docs]class LogPattern(AWSProperty): """ `LogPattern <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationinsights-application-logpattern.html>`__ """ props: PropsDictType = { "Pattern": (str, True), "PatternName": (str, True), "Rank": (integer, True), }
[docs]class LogPatternSet(AWSProperty): """ `LogPatternSet <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationinsights-application-logpatternset.html>`__ """ props: PropsDictType = { "LogPatterns": ([LogPattern], True), "PatternSetName": (str, True), }
[docs]class Application(AWSObject): """ `Application <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-applicationinsights-application.html>`__ """ resource_type = "AWS::ApplicationInsights::Application" props: PropsDictType = { "AttachMissingPermission": (boolean, False), "AutoConfigurationEnabled": (boolean, False), "CWEMonitorEnabled": (boolean, False), "ComponentMonitoringSettings": ([ComponentMonitoringSetting], False), "CustomComponents": ([CustomComponent], False), "GroupingType": (str, False), "LogPatternSets": ([LogPatternSet], False), "OpsCenterEnabled": (boolean, False), "OpsItemSNSTopicArn": (str, False), "ResourceGroupName": (str, True), "Tags": (Tags, False), }