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.InitializationMode
Nested classes/interfaces inherited from interface software.amazon.awscdk.services.greengrass.CfnLoggerDefinitionVersion.LoggerProperty
CfnLoggerDefinitionVersion.LoggerProperty.Builder, CfnLoggerDefinitionVersion.LoggerProperty.Jsii$Proxy
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
Constructor that initializes the object based on literal property values passed by theCfnLoggerDefinitionVersion.LoggerProperty.Builder
.protected
Jsii$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.JsonNode
final boolean
final String
The source of the log event.final String
getId()
A descriptive or arbitrary ID for the logger.final String
getLevel()
The log-level threshold.final Number
getSpace()
The amount of file space (in KB) to use when writing logs to the local file system.final String
getType()
The storage mechanism for log events.final int
hashCode()
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.LoggerProperty
The source of the log event.Valid values are
GreengrassSystem
orLambda
. WhenGreengrassSystem
is used, events from Greengrass system components are logged. WhenLambda
is used, events from user-defined Lambda functions are logged.- Specified by:
getComponent
in interfaceCfnLoggerDefinitionVersion.LoggerProperty
- See Also:
-
getId
Description copied from interface:CfnLoggerDefinitionVersion.LoggerProperty
A 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:
getId
in interfaceCfnLoggerDefinitionVersion.LoggerProperty
- See Also:
-
getLevel
Description copied from interface:CfnLoggerDefinitionVersion.LoggerProperty
The 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:
getLevel
in interfaceCfnLoggerDefinitionVersion.LoggerProperty
- See Also:
-
getType
Description copied from interface:CfnLoggerDefinitionVersion.LoggerProperty
The storage mechanism for log events.Valid values are
FileSystem
orAWSCloudWatch
. WhenAWSCloudWatch
is used, log events are sent to CloudWatch Logs . WhenFileSystem
is used, log events are stored on the local file system.- Specified by:
getType
in interfaceCfnLoggerDefinitionVersion.LoggerProperty
- See Also:
-
getSpace
Description copied from interface:CfnLoggerDefinitionVersion.LoggerProperty
The 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:
getSpace
in interfaceCfnLoggerDefinitionVersion.LoggerProperty
- See Also:
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()- Specified by:
$jsii$toJson
in interfacesoftware.amazon.jsii.JsiiSerializable
-
equals
-
hashCode
public final int hashCode()
-