@Stability(value=Stable)
public static interface CfnApplication.ComponentMonitoringSettingProperty
extends software.amazon.jsii.JsiiSerializable
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.applicationinsights.*;
ComponentMonitoringSettingProperty componentMonitoringSettingProperty = ComponentMonitoringSettingProperty.builder()
.componentConfigurationMode("componentConfigurationMode")
.tier("tier")
// the properties below are optional
.componentArn("componentArn")
.componentName("componentName")
.customComponentConfiguration(ComponentConfigurationProperty.builder()
.configurationDetails(ConfigurationDetailsProperty.builder()
.alarmMetrics(List.of(AlarmMetricProperty.builder()
.alarmMetricName("alarmMetricName")
.build()))
.alarms(List.of(AlarmProperty.builder()
.alarmName("alarmName")
// the properties below are optional
.severity("severity")
.build()))
.jmxPrometheusExporter(JMXPrometheusExporterProperty.builder()
.hostPort("hostPort")
.jmxurl("jmxurl")
.prometheusPort("prometheusPort")
.build())
.logs(List.of(LogProperty.builder()
.logType("logType")
// the properties below are optional
.encoding("encoding")
.logGroupName("logGroupName")
.logPath("logPath")
.patternSet("patternSet")
.build()))
.windowsEvents(List.of(WindowsEventProperty.builder()
.eventLevels(List.of("eventLevels"))
.eventName("eventName")
.logGroupName("logGroupName")
// the properties below are optional
.patternSet("patternSet")
.build()))
.build())
.subComponentTypeConfigurations(List.of(SubComponentTypeConfigurationProperty.builder()
.subComponentConfigurationDetails(SubComponentConfigurationDetailsProperty.builder()
.alarmMetrics(List.of(AlarmMetricProperty.builder()
.alarmMetricName("alarmMetricName")
.build()))
.logs(List.of(LogProperty.builder()
.logType("logType")
// the properties below are optional
.encoding("encoding")
.logGroupName("logGroupName")
.logPath("logPath")
.patternSet("patternSet")
.build()))
.windowsEvents(List.of(WindowsEventProperty.builder()
.eventLevels(List.of("eventLevels"))
.eventName("eventName")
.logGroupName("logGroupName")
// the properties below are optional
.patternSet("patternSet")
.build()))
.build())
.subComponentType("subComponentType")
.build()))
.build())
.defaultOverwriteComponentConfiguration(ComponentConfigurationProperty.builder()
.configurationDetails(ConfigurationDetailsProperty.builder()
.alarmMetrics(List.of(AlarmMetricProperty.builder()
.alarmMetricName("alarmMetricName")
.build()))
.alarms(List.of(AlarmProperty.builder()
.alarmName("alarmName")
// the properties below are optional
.severity("severity")
.build()))
.jmxPrometheusExporter(JMXPrometheusExporterProperty.builder()
.hostPort("hostPort")
.jmxurl("jmxurl")
.prometheusPort("prometheusPort")
.build())
.logs(List.of(LogProperty.builder()
.logType("logType")
// the properties below are optional
.encoding("encoding")
.logGroupName("logGroupName")
.logPath("logPath")
.patternSet("patternSet")
.build()))
.windowsEvents(List.of(WindowsEventProperty.builder()
.eventLevels(List.of("eventLevels"))
.eventName("eventName")
.logGroupName("logGroupName")
// the properties below are optional
.patternSet("patternSet")
.build()))
.build())
.subComponentTypeConfigurations(List.of(SubComponentTypeConfigurationProperty.builder()
.subComponentConfigurationDetails(SubComponentConfigurationDetailsProperty.builder()
.alarmMetrics(List.of(AlarmMetricProperty.builder()
.alarmMetricName("alarmMetricName")
.build()))
.logs(List.of(LogProperty.builder()
.logType("logType")
// the properties below are optional
.encoding("encoding")
.logGroupName("logGroupName")
.logPath("logPath")
.patternSet("patternSet")
.build()))
.windowsEvents(List.of(WindowsEventProperty.builder()
.eventLevels(List.of("eventLevels"))
.eventName("eventName")
.logGroupName("logGroupName")
// the properties below are optional
.patternSet("patternSet")
.build()))
.build())
.subComponentType("subComponentType")
.build()))
.build())
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnApplication.ComponentMonitoringSettingProperty.Builder
A builder for
CfnApplication.ComponentMonitoringSettingProperty |
static class |
CfnApplication.ComponentMonitoringSettingProperty.Jsii$Proxy
An implementation for
CfnApplication.ComponentMonitoringSettingProperty |
| Modifier and Type | Method and Description |
|---|---|
static CfnApplication.ComponentMonitoringSettingProperty.Builder |
builder() |
default String |
getComponentArn()
`CfnApplication.ComponentMonitoringSettingProperty.ComponentARN`.
|
String |
getComponentConfigurationMode()
`CfnApplication.ComponentMonitoringSettingProperty.ComponentConfigurationMode`.
|
default String |
getComponentName()
`CfnApplication.ComponentMonitoringSettingProperty.ComponentName`.
|
default Object |
getCustomComponentConfiguration()
`CfnApplication.ComponentMonitoringSettingProperty.CustomComponentConfiguration`.
|
default Object |
getDefaultOverwriteComponentConfiguration()
`CfnApplication.ComponentMonitoringSettingProperty.DefaultOverwriteComponentConfiguration`.
|
String |
getTier()
`CfnApplication.ComponentMonitoringSettingProperty.Tier`.
|
@Stability(value=Stable) @Nullable default String getComponentArn()
@Stability(value=Stable) @NotNull String getComponentConfigurationMode()
@Stability(value=Stable) @Nullable default String getComponentName()
@Stability(value=Stable) @Nullable default Object getCustomComponentConfiguration()
@Stability(value=Stable) @Nullable default Object getDefaultOverwriteComponentConfiguration()
@Stability(value=Stable) @NotNull String getTier()
@Stability(value=Stable) static CfnApplication.ComponentMonitoringSettingProperty.Builder builder()
Copyright © 2021. All rights reserved.