Interface CfnApplicationPropsMixin.SubComponentConfigurationDetailsProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnApplicationPropsMixin.SubComponentConfigurationDetailsProperty.Jsii$Proxy
- Enclosing class:
CfnApplicationPropsMixin
@Stability(Stable)
public static interface CfnApplicationPropsMixin.SubComponentConfigurationDetailsProperty
extends software.amazon.jsii.JsiiSerializable
The
AWS::ApplicationInsights::Application SubComponentConfigurationDetails property type specifies the configuration settings of the sub-components.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.cfnpropertymixins.services.applicationinsights.*;
SubComponentConfigurationDetailsProperty subComponentConfigurationDetailsProperty = SubComponentConfigurationDetailsProperty.builder()
.alarmMetrics(List.of(AlarmMetricProperty.builder()
.alarmMetricName("alarmMetricName")
.build()))
.logs(List.of(LogProperty.builder()
.encoding("encoding")
.logGroupName("logGroupName")
.logPath("logPath")
.logType("logType")
.patternSet("patternSet")
.build()))
.processes(List.of(ProcessProperty.builder()
.alarmMetrics(List.of(AlarmMetricProperty.builder()
.alarmMetricName("alarmMetricName")
.build()))
.processName("processName")
.build()))
.windowsEvents(List.of(WindowsEventProperty.builder()
.eventLevels(List.of("eventLevels"))
.eventName("eventName")
.logGroupName("logGroupName")
.patternSet("patternSet")
.build()))
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classstatic final classAn implementation forCfnApplicationPropsMixin.SubComponentConfigurationDetailsProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default ObjectA list of metrics to monitor for the component.default ObjectgetLogs()A list of logs to monitor for the component.default ObjectA list of processes to monitor for the component.default ObjectA list of Windows Events to monitor for the component.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getAlarmMetrics
A list of metrics to monitor for the component.All component types can use
AlarmMetrics.Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnApplicationPropsMixin.AlarmMetricProperty>- See Also:
-
getLogs
A list of logs to monitor for the component.Only Amazon EC2 instances can use
Logs.Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnApplicationPropsMixin.LogProperty>- See Also:
-
getProcesses
A list of processes to monitor for the component.Only Windows EC2 instances can have a processes section.
Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnApplicationPropsMixin.ProcessProperty>- See Also:
-
getWindowsEvents
A list of Windows Events to monitor for the component.Only Amazon EC2 instances running on Windows can use
WindowsEvents.Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnApplicationPropsMixin.WindowsEventProperty>- See Also:
-
builder
@Stability(Stable) static CfnApplicationPropsMixin.SubComponentConfigurationDetailsProperty.Builder builder()
-