Interface CfnApplication.WindowsEventProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnApplication.WindowsEventProperty.Jsii$Proxy
- Enclosing class:
CfnApplication
@Stability(Stable)
public static interface CfnApplication.WindowsEventProperty
extends software.amazon.jsii.JsiiSerializable
The
AWS::ApplicationInsights::Application WindowsEvent
property type specifies a Windows Event to monitor for the component.
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.*; WindowsEventProperty windowsEventProperty = WindowsEventProperty.builder() .eventLevels(List.of("eventLevels")) .eventName("eventName") .logGroupName("logGroupName") // the properties below are optional .patternSet("patternSet") .build();
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forCfnApplication.WindowsEventProperty
static final class
An implementation forCfnApplication.WindowsEventProperty
-
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getEventLevels
The levels of event to log.You must specify each level to log. Possible values include
INFORMATION
,WARNING
,ERROR
,CRITICAL
, andVERBOSE
. This field is required for each type of Windows Event to log. -
getEventName
The type of Windows Events to log, equivalent to the Windows Event log channel name.For example, System, Security, CustomEventName, and so on. This field is required for each type of Windows event to log.
-
getLogGroupName
The CloudWatch log group name to be associated with the monitored log. -
getPatternSet
The log pattern set. -
builder
-