@Stability(value=Experimental) @Internal public static final class LogStreamProps.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements LogStreamProps
LogStreamPropssoftware.amazon.jsii.JsiiObject.InitializationModeLogStreamProps.Builder, LogStreamProps.Jsii$Proxy| Modifier | Constructor and Description |
|---|---|
protected |
Jsii$Proxy(ILogGroup logGroup,
String logStreamName,
RemovalPolicy removalPolicy)
Constructor that initializes the object based on literal property values passed by the
LogStreamProps.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) |
ILogGroup |
getLogGroup()
(experimental) The log group to create a log stream for.
|
String |
getLogStreamName()
(experimental) The name of the log stream to create.
|
RemovalPolicy |
getRemovalPolicy()
(experimental) Determine what happens when the log stream resource is removed from the app.
|
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(ILogGroup logGroup, String logStreamName, RemovalPolicy removalPolicy)
LogStreamProps.Builder.public final ILogGroup getLogGroup()
LogStreamPropsgetLogGroup in interface LogStreamPropspublic final String getLogStreamName()
LogStreamPropsThe name must be unique within the log group.
Default: Automatically generated
getLogStreamName in interface LogStreamPropspublic final RemovalPolicy getRemovalPolicy()
LogStreamPropsNormally you want to retain the log stream so you can diagnose issues from logs even after a deployment that no longer includes the log stream.
The date-based retention policy of your log group will age out the logs after a certain time.
Default: RemovalPolicy.Retain
getRemovalPolicy in interface LogStreamProps@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
$jsii$toJson in interface software.amazon.jsii.JsiiSerializableCopyright © 2021. All rights reserved.