@Stability(value=Stable)
public static interface CfnApplication.WindowsEventProperty
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.*;
WindowsEventProperty windowsEventProperty = WindowsEventProperty.builder()
.eventLevels(List.of("eventLevels"))
.eventName("eventName")
.logGroupName("logGroupName")
// the properties below are optional
.patternSet("patternSet")
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnApplication.WindowsEventProperty.Builder
A builder for
CfnApplication.WindowsEventProperty |
static class |
CfnApplication.WindowsEventProperty.Jsii$Proxy
An implementation for
CfnApplication.WindowsEventProperty |
| Modifier and Type | Method and Description |
|---|---|
static CfnApplication.WindowsEventProperty.Builder |
builder() |
List<String> |
getEventLevels()
The levels of event to log.
|
String |
getEventName()
The type of Windows Events to log, equivalent to the Windows Event log channel name.
|
String |
getLogGroupName()
The CloudWatch log group name to be associated with the monitored log.
|
default String |
getPatternSet()
The log pattern set.
|
@Stability(value=Stable) @NotNull List<String> getEventLevels()
You must specify each level to log. Possible values include INFORMATION , WARNING , ERROR , CRITICAL , and VERBOSE . This field is required for each type of Windows Event to log.
@Stability(value=Stable) @NotNull String getEventName()
For example, System, Security, CustomEventName, and so on. This field is required for each type of Windows event to log.
@Stability(value=Stable) @NotNull String getLogGroupName()
@Stability(value=Stable) @Nullable default String getPatternSet()
@Stability(value=Stable) static CfnApplication.WindowsEventProperty.Builder builder()
Copyright © 2022. All rights reserved.