Class CfnLoggerDefinitionVersion.LoggerProperty.Jsii$Proxy
java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.greengrass.CfnLoggerDefinitionVersion.LoggerProperty.Jsii$Proxy
- All Implemented Interfaces:
CfnLoggerDefinitionVersion.LoggerProperty,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
- CfnLoggerDefinitionVersion.LoggerProperty
@Stability(Stable)
@Internal
public static final class CfnLoggerDefinitionVersion.LoggerProperty.Jsii$Proxy
extends software.amazon.jsii.JsiiObject
implements CfnLoggerDefinitionVersion.LoggerProperty
An implementation for
CfnLoggerDefinitionVersion.LoggerProperty-
Nested Class Summary
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.amazon.awscdk.services.greengrass.CfnLoggerDefinitionVersion.LoggerProperty
CfnLoggerDefinitionVersion.LoggerProperty.Builder, CfnLoggerDefinitionVersion.LoggerProperty.Jsii$Proxy -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedConstructor that initializes the object based on literal property values passed by theCfnLoggerDefinitionVersion.LoggerProperty.Builder.protectedJsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef) Constructor that initializes the object based on values retrieved from the JsiiObject. -
Method Summary
Modifier and TypeMethodDescriptioncom.fasterxml.jackson.databind.JsonNodefinal booleanfinal StringThe source of the log event.final StringgetId()A descriptive or arbitrary ID for the logger.final StringgetLevel()The log-level threshold.final NumbergetSpace()The amount of file space (in KB) to use when writing logs to the local file system.final StringgetType()The storage mechanism for log events.final inthashCode()Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
-
Constructor Details
-
Jsii$Proxy
protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef) Constructor that initializes the object based on values retrieved from the JsiiObject.- Parameters:
objRef- Reference to the JSII managed object.
-
Jsii$Proxy
Constructor that initializes the object based on literal property values passed by theCfnLoggerDefinitionVersion.LoggerProperty.Builder.
-
-
Method Details
-
getComponent
Description copied from interface:CfnLoggerDefinitionVersion.LoggerPropertyThe source of the log event.Valid values are
GreengrassSystemorLambda. WhenGreengrassSystemis used, events from Greengrass system components are logged. WhenLambdais used, events from user-defined Lambda functions are logged.- Specified by:
getComponentin interfaceCfnLoggerDefinitionVersion.LoggerProperty
-
getId
Description copied from interface:CfnLoggerDefinitionVersion.LoggerPropertyA descriptive or arbitrary ID for the logger.This value must be unique within the logger definition version. Maximum length is 128 characters with pattern
[a-zA-Z0-9:_-]+.- Specified by:
getIdin interfaceCfnLoggerDefinitionVersion.LoggerProperty
-
getLevel
Description copied from interface:CfnLoggerDefinitionVersion.LoggerPropertyThe log-level threshold.Log events below this threshold are filtered out and aren't stored. Valid values are
DEBUG,INFO(recommended),WARN,ERROR, orFATAL.- Specified by:
getLevelin interfaceCfnLoggerDefinitionVersion.LoggerProperty
-
getType
Description copied from interface:CfnLoggerDefinitionVersion.LoggerPropertyThe storage mechanism for log events.Valid values are
FileSystemorAWSCloudWatch. WhenAWSCloudWatchis used, log events are sent to CloudWatch Logs . WhenFileSystemis used, log events are stored on the local file system.- Specified by:
getTypein interfaceCfnLoggerDefinitionVersion.LoggerProperty
-
getSpace
Description copied from interface:CfnLoggerDefinitionVersion.LoggerPropertyThe amount of file space (in KB) to use when writing logs to the local file system.This property does not apply for CloudWatch Logs .
- Specified by:
getSpacein interfaceCfnLoggerDefinitionVersion.LoggerProperty
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()- Specified by:
$jsii$toJsonin interfacesoftware.amazon.jsii.JsiiSerializable
-
equals
-
hashCode
public final int hashCode()
-