Class CfnApplication.ComponentConfigurationProperty
The AWS::ApplicationInsights::Application ComponentConfiguration
property type defines the configuration settings of the component.
Inheritance
System.Object
CfnApplication.ComponentConfigurationProperty
Namespace: Amazon.CDK.AWS.ApplicationInsights
Assembly: Amazon.CDK.AWS.ApplicationInsights.dll
Syntax (csharp)
public class ComponentConfigurationProperty : Object, CfnApplication.IComponentConfigurationProperty
Syntax (vb)
Public Class ComponentConfigurationProperty
Inherits Object
Implements CfnApplication.IComponentConfigurationProperty
Remarks
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 componentConfigurationProperty = 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
ComponentConfigurationProperty() |
Properties
ConfigurationDetails | The configuration settings. |
SubComponentTypeConfigurations | Sub-component configurations of the component. |
Constructors
ComponentConfigurationProperty()
public ComponentConfigurationProperty()
Properties
ConfigurationDetails
The configuration settings.
public object ConfigurationDetails { get; set; }
Property Value
System.Object
Remarks
SubComponentTypeConfigurations
Sub-component configurations of the component.
public object SubComponentTypeConfigurations { get; set; }
Property Value
System.Object