Class CfnLoggerDefinition.LoggerProperty.Jsii$Proxy
java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.greengrass.CfnLoggerDefinition.LoggerProperty.Jsii$Proxy
- All Implemented Interfaces:
CfnLoggerDefinition.LoggerProperty,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
- CfnLoggerDefinition.LoggerProperty
@Stability(Stable)
@Internal
public static final class CfnLoggerDefinition.LoggerProperty.Jsii$Proxy
extends software.amazon.jsii.JsiiObject
implements CfnLoggerDefinition.LoggerProperty
An implementation for
CfnLoggerDefinition.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.CfnLoggerDefinition.LoggerProperty
CfnLoggerDefinition.LoggerProperty.Builder, CfnLoggerDefinition.LoggerProperty.Jsii$Proxy -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedConstructor that initializes the object based on literal property values passed by theCfnLoggerDefinition.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 theCfnLoggerDefinition.LoggerProperty.Builder.
-
-
Method Details
-
getComponent
Description copied from interface:CfnLoggerDefinition.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 interfaceCfnLoggerDefinition.LoggerProperty
-
getId
Description copied from interface:CfnLoggerDefinition.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 interfaceCfnLoggerDefinition.LoggerProperty
-
getLevel
Description copied from interface:CfnLoggerDefinition.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 interfaceCfnLoggerDefinition.LoggerProperty
-
getType
Description copied from interface:CfnLoggerDefinition.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 interfaceCfnLoggerDefinition.LoggerProperty
-
getSpace
Description copied from interface:CfnLoggerDefinition.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 interfaceCfnLoggerDefinition.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()
-