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.InitializationModeNested classes/interfaces inherited from interface software.amazon.awscdk.services.logs.LogGroupProps
LogGroupProps.Builder, LogGroupProps.Jsii$Proxy -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedJsii$Proxy(LogGroupProps.Builder builder) Constructor that initializes the object based on literal property values passed by theLogGroupProps.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 IKeyThe KMS Key to encrypt the log group with.final StringName of the log group.final RemovalPolicyDetermine the removal policy of this log group.final RetentionDaysHow long, in days, the log contents will be retained.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 theLogGroupProps.Builder.
-
-
Method Details
-
getEncryptionKey
Description copied from interface:LogGroupPropsThe KMS Key to encrypt the log group with.Default: - log group is encrypted with the default master key
- Specified by:
getEncryptionKeyin interfaceLogGroupProps
-
getLogGroupName
Description copied from interface:LogGroupPropsName of the log group.Default: Automatically generated
- Specified by:
getLogGroupNamein interfaceLogGroupProps
-
getRemovalPolicy
Description copied from interface:LogGroupPropsDetermine 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:
getRemovalPolicyin interfaceLogGroupProps
-
getRetention
Description copied from interface:LogGroupPropsHow 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:
getRetentionin interfaceLogGroupProps
-
$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()
-