@Stability(value=Stable) @Internal public static final class CfnLoggerDefinition.LoggerProperty.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements CfnLoggerDefinition.LoggerProperty
CfnLoggerDefinition.LoggerPropertysoftware.amazon.jsii.JsiiObject.InitializationModeCfnLoggerDefinition.LoggerProperty.Builder, CfnLoggerDefinition.LoggerProperty.Jsii$Proxy| Modifier | Constructor and Description |
|---|---|
protected |
Jsii$Proxy(CfnLoggerDefinition.LoggerProperty.Builder builder)
Constructor that initializes the object based on literal property values passed by the
CfnLoggerDefinition.LoggerDefinitionVersionProperty.Builder. |
protected |
Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
Constructor that initializes the object based on values retrieved from the JsiiObject.
|
| Modifier and Type | Method and Description |
|---|---|
com.fasterxml.jackson.databind.JsonNode |
$jsii$toJson() |
boolean |
equals(Object o) |
String |
getComponent()
The source of the log event.
|
String |
getId()
A descriptive or arbitrary ID for the logger.
|
String |
getLevel()
The log-level threshold.
|
Number |
getSpace()
The amount of file space (in KB) to use when writing logs to the local file system.
|
String |
getType()
The storage mechanism for log events.
|
int |
hashCode() |
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitbuilderprotected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
objRef - Reference to the JSII managed object.protected Jsii$Proxy(CfnLoggerDefinition.LoggerProperty.Builder builder)
CfnLoggerDefinition.LoggerDefinitionVersionProperty.Builder.public final String getComponent()
CfnLoggerDefinition.LoggerProperty
Valid values are GreengrassSystem or Lambda . When GreengrassSystem is used, events from Greengrass system components are logged. When Lambda is used, events from user-defined Lambda functions are logged.
getComponent in interface CfnLoggerDefinition.LoggerPropertypublic final String getId()
CfnLoggerDefinition.LoggerProperty
This value must be unique within the logger definition version. Maximum length is 128 characters with pattern [a-zA-Z0-9:_-]+ .
getId in interface CfnLoggerDefinition.LoggerPropertypublic final String getLevel()
CfnLoggerDefinition.LoggerProperty
Log events below this threshold are filtered out and aren't stored. Valid values are DEBUG , INFO (recommended), WARN , ERROR , or FATAL .
getLevel in interface CfnLoggerDefinition.LoggerPropertypublic final String getType()
CfnLoggerDefinition.LoggerProperty
Valid values are FileSystem or AWSCloudWatch . When AWSCloudWatch is used, log events are sent to CloudWatch Logs . When FileSystem is used, log events are stored on the local file system.
getType in interface CfnLoggerDefinition.LoggerPropertypublic final Number getSpace()
CfnLoggerDefinition.LoggerPropertyThis property does not apply for CloudWatch Logs .
getSpace in interface CfnLoggerDefinition.LoggerProperty@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
$jsii$toJson in interface software.amazon.jsii.JsiiSerializableCopyright © 2022. All rights reserved.