Class LogGroupProps.Jsii$Proxy
java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.logs.LogGroupProps.Jsii$Proxy
- All Implemented Interfaces:
LogGroupProps
,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
LogGroupProps
@Stability(Stable)
@Internal
public static final class LogGroupProps.Jsii$Proxy
extends software.amazon.jsii.JsiiObject
implements LogGroupProps
An implementation for
LogGroupProps
-
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.logs.LogGroupProps
LogGroupProps.Builder, LogGroupProps.Jsii$Proxy
-
Constructor Summary
ModifierConstructorDescriptionprotected
Jsii$Proxy
(LogGroupProps.Builder builder) Constructor that initializes the object based on literal property values passed by theLogGroupProps.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 IKey
The KMS Key to encrypt the log group with.final String
Name of the log group.final RemovalPolicy
Determine the removal policy of this log group.final RetentionDays
How long, in days, the log contents will be retained.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 theLogGroupProps.Builder
.
-
-
Method Details
-
getEncryptionKey
Description copied from interface:LogGroupProps
The KMS Key to encrypt the log group with.Default: - log group is encrypted with the default master key
- Specified by:
getEncryptionKey
in interfaceLogGroupProps
-
getLogGroupName
Description copied from interface:LogGroupProps
Name of the log group.Default: Automatically generated
- Specified by:
getLogGroupName
in interfaceLogGroupProps
-
getRemovalPolicy
Description copied from interface:LogGroupProps
Determine the removal policy of this log group.Normally you want to retain the log group so you can diagnose issues from logs even after a deployment that no longer includes the log group. In that case, use the normal date-based retention policy to age out your logs.
Default: RemovalPolicy.Retain
- Specified by:
getRemovalPolicy
in interfaceLogGroupProps
-
getRetention
Description copied from interface:LogGroupProps
How long, in days, the log contents will be retained.To retain all logs, set this value to RetentionDays.INFINITE.
Default: RetentionDays.TWO_YEARS
- Specified by:
getRetention
in interfaceLogGroupProps
-
$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()
-