@Stability(value=Experimental) @Internal public static final class LogGroupProps.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements LogGroupProps
LogGroupPropssoftware.amazon.jsii.JsiiObject.InitializationModeLogGroupProps.Builder, LogGroupProps.Jsii$Proxy| Modifier | Constructor and Description |
|---|---|
protected |
Jsii$Proxy(IKey encryptionKey,
String logGroupName,
RemovalPolicy removalPolicy,
RetentionDays retention)
Constructor that initializes the object based on literal property values passed by the
LogGroupProps.Builder. |
protected |
Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
Constructor that initializes the object based on values retrieved from the JsiiObject.
|
| Modifier and Type | Method and Description |
|---|---|
com.fasterxml.jackson.databind.JsonNode |
$jsii$toJson() |
boolean |
equals(Object o) |
IKey |
getEncryptionKey()
(experimental) The KMS Key to encrypt the log group with.
|
String |
getLogGroupName()
(experimental) Name of the log group.
|
RemovalPolicy |
getRemovalPolicy()
(experimental) Determine the removal policy of this log group.
|
RetentionDays |
getRetention()
(experimental) How long, in days, the log contents will be retained.
|
int |
hashCode() |
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitbuilderprotected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
objRef - Reference to the JSII managed object.protected Jsii$Proxy(IKey encryptionKey, String logGroupName, RemovalPolicy removalPolicy, RetentionDays retention)
LogGroupProps.Builder.public final IKey getEncryptionKey()
LogGroupPropsDefault: - log group is encrypted with the default master key
getEncryptionKey in interface LogGroupPropspublic final String getLogGroupName()
LogGroupPropsDefault: Automatically generated
getLogGroupName in interface LogGroupPropspublic final RemovalPolicy getRemovalPolicy()
LogGroupPropsNormally 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
getRemovalPolicy in interface LogGroupPropspublic final RetentionDays getRetention()
LogGroupPropsTo retain all logs, set this value to RetentionDays.INFINITE.
Default: RetentionDays.TWO_YEARS
getRetention in interface LogGroupProps@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
$jsii$toJson in interface software.amazon.jsii.JsiiSerializableCopyright © 2021. All rights reserved.