Show / Hide Table of Contents

Class CfnApplication.ComponentMonitoringSettingProperty

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

Inheritance
System.Object
CfnApplication.ComponentMonitoringSettingProperty
Implements
CfnApplication.IComponentMonitoringSettingProperty
Namespace: Amazon.CDK.AWS.ApplicationInsights
Assembly: Amazon.CDK.AWS.ApplicationInsights.dll
Syntax (csharp)
public class ComponentMonitoringSettingProperty : Object, CfnApplication.IComponentMonitoringSettingProperty
Syntax (vb)
Public Class ComponentMonitoringSettingProperty
    Inherits Object
    Implements CfnApplication.IComponentMonitoringSettingProperty
Remarks

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

ExampleMetadata: fixture=_generated

Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.ApplicationInsights;

var componentMonitoringSettingProperty = new ComponentMonitoringSettingProperty {
    ComponentConfigurationMode = "componentConfigurationMode",
    Tier = "tier",

    // the properties below are optional
    ComponentArn = "componentArn",
    ComponentName = "componentName",
    CustomComponentConfiguration = new ComponentConfigurationProperty {
        ConfigurationDetails = new ConfigurationDetailsProperty {
            AlarmMetrics = new [] { new AlarmMetricProperty {
                AlarmMetricName = "alarmMetricName"
            } },
            Alarms = new [] { new AlarmProperty {
                AlarmName = "alarmName",

                // the properties below are optional
                Severity = "severity"
            } },
            HaClusterPrometheusExporter = new HAClusterPrometheusExporterProperty {
                PrometheusPort = "prometheusPort"
            },
            HanaPrometheusExporter = new HANAPrometheusExporterProperty {
                AgreeToInstallHanadbClient = false,
                HanaPort = "hanaPort",
                HanaSecretName = "hanaSecretName",
                Hanasid = "hanasid",

                // the properties below are optional
                PrometheusPort = "prometheusPort"
            },
            JmxPrometheusExporter = new JMXPrometheusExporterProperty {
                HostPort = "hostPort",
                Jmxurl = "jmxurl",
                PrometheusPort = "prometheusPort"
            },
            Logs = new [] { new LogProperty {
                LogType = "logType",

                // the properties below are optional
                Encoding = "encoding",
                LogGroupName = "logGroupName",
                LogPath = "logPath",
                PatternSet = "patternSet"
            } },
            WindowsEvents = new [] { new WindowsEventProperty {
                EventLevels = new [] { "eventLevels" },
                EventName = "eventName",
                LogGroupName = "logGroupName",

                // the properties below are optional
                PatternSet = "patternSet"
            } }
        },
        SubComponentTypeConfigurations = new [] { new SubComponentTypeConfigurationProperty {
            SubComponentConfigurationDetails = new SubComponentConfigurationDetailsProperty {
                AlarmMetrics = new [] { new AlarmMetricProperty {
                    AlarmMetricName = "alarmMetricName"
                } },
                Logs = new [] { new LogProperty {
                    LogType = "logType",

                    // the properties below are optional
                    Encoding = "encoding",
                    LogGroupName = "logGroupName",
                    LogPath = "logPath",
                    PatternSet = "patternSet"
                } },
                WindowsEvents = new [] { new WindowsEventProperty {
                    EventLevels = new [] { "eventLevels" },
                    EventName = "eventName",
                    LogGroupName = "logGroupName",

                    // the properties below are optional
                    PatternSet = "patternSet"
                } }
            },
            SubComponentType = "subComponentType"
        } }
    },
    DefaultOverwriteComponentConfiguration = new ComponentConfigurationProperty {
        ConfigurationDetails = new ConfigurationDetailsProperty {
            AlarmMetrics = new [] { new AlarmMetricProperty {
                AlarmMetricName = "alarmMetricName"
            } },
            Alarms = new [] { new AlarmProperty {
                AlarmName = "alarmName",

                // the properties below are optional
                Severity = "severity"
            } },
            HaClusterPrometheusExporter = new HAClusterPrometheusExporterProperty {
                PrometheusPort = "prometheusPort"
            },
            HanaPrometheusExporter = new HANAPrometheusExporterProperty {
                AgreeToInstallHanadbClient = false,
                HanaPort = "hanaPort",
                HanaSecretName = "hanaSecretName",
                Hanasid = "hanasid",

                // the properties below are optional
                PrometheusPort = "prometheusPort"
            },
            JmxPrometheusExporter = new JMXPrometheusExporterProperty {
                HostPort = "hostPort",
                Jmxurl = "jmxurl",
                PrometheusPort = "prometheusPort"
            },
            Logs = new [] { new LogProperty {
                LogType = "logType",

                // the properties below are optional
                Encoding = "encoding",
                LogGroupName = "logGroupName",
                LogPath = "logPath",
                PatternSet = "patternSet"
            } },
            WindowsEvents = new [] { new WindowsEventProperty {
                EventLevels = new [] { "eventLevels" },
                EventName = "eventName",
                LogGroupName = "logGroupName",

                // the properties below are optional
                PatternSet = "patternSet"
            } }
        },
        SubComponentTypeConfigurations = new [] { new SubComponentTypeConfigurationProperty {
            SubComponentConfigurationDetails = new SubComponentConfigurationDetailsProperty {
                AlarmMetrics = new [] { new AlarmMetricProperty {
                    AlarmMetricName = "alarmMetricName"
                } },
                Logs = new [] { new LogProperty {
                    LogType = "logType",

                    // the properties below are optional
                    Encoding = "encoding",
                    LogGroupName = "logGroupName",
                    LogPath = "logPath",
                    PatternSet = "patternSet"
                } },
                WindowsEvents = new [] { new WindowsEventProperty {
                    EventLevels = new [] { "eventLevels" },
                    EventName = "eventName",
                    LogGroupName = "logGroupName",

                    // the properties below are optional
                    PatternSet = "patternSet"
                } }
            },
            SubComponentType = "subComponentType"
        } }
    }
};

Synopsis

Constructors

ComponentMonitoringSettingProperty()

Properties

ComponentArn

The ARN of the component.

ComponentConfigurationMode

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

ComponentName

The name of the component.

CustomComponentConfiguration

Customized monitoring settings.

DefaultOverwriteComponentConfiguration

Customized overwrite monitoring settings.

Tier

The tier of the application component.

Constructors

ComponentMonitoringSettingProperty()

public ComponentMonitoringSettingProperty()

Properties

ComponentArn

The ARN of the component.

public string ComponentArn { get; set; }
Property Value

System.String

Remarks

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

ComponentConfigurationMode

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

public string ComponentConfigurationMode { get; set; }
Property Value

System.String

Remarks

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

    ComponentName

    The name of the component.

    public string ComponentName { get; set; }
    Property Value

    System.String

    Remarks

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

    CustomComponentConfiguration

    Customized monitoring settings.

    public object CustomComponentConfiguration { get; set; }
    Property Value

    System.Object

    Remarks

    Required if CUSTOM mode is configured in ComponentConfigurationMode .

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

    DefaultOverwriteComponentConfiguration

    Customized overwrite monitoring settings.

    public object DefaultOverwriteComponentConfiguration { get; set; }
    Property Value

    System.Object

    Remarks

    Required if CUSTOM mode is configured in ComponentConfigurationMode .

    Link: 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.

    public string Tier { get; set; }
    Property Value

    System.String

    Remarks

    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 .

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

    Implements

    CfnApplication.IComponentMonitoringSettingProperty
    Back to top Generated by DocFX