@Stability(value=Stable)
public static interface CfnApplication.SubComponentConfigurationDetailsProperty
extends software.amazon.jsii.JsiiSerializable
Example:
// 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.*;
SubComponentConfigurationDetailsProperty subComponentConfigurationDetailsProperty = 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();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnApplication.SubComponentConfigurationDetailsProperty.Builder
A builder for
CfnApplication.SubComponentConfigurationDetailsProperty |
static class |
CfnApplication.SubComponentConfigurationDetailsProperty.Jsii$Proxy
An implementation for
CfnApplication.SubComponentConfigurationDetailsProperty |
| Modifier and Type | Method and Description |
|---|---|
static CfnApplication.SubComponentConfigurationDetailsProperty.Builder |
builder() |
default Object |
getAlarmMetrics()
A list of metrics to monitor for the component.
|
default Object |
getLogs()
A list of logs to monitor for the component.
|
default Object |
getWindowsEvents()
A list of Windows Events to monitor for the component.
|
@Stability(value=Stable) @Nullable default Object getAlarmMetrics()
All component types can use AlarmMetrics .
@Stability(value=Stable) @Nullable default Object getLogs()
Only Amazon EC2 instances can use Logs .
@Stability(value=Stable) @Nullable default Object getWindowsEvents()
Only Amazon EC2 instances running on Windows can use WindowsEvents .
@Stability(value=Stable) static CfnApplication.SubComponentConfigurationDetailsProperty.Builder builder()
Copyright © 2022. All rights reserved.