Class LogStreamProps.Jsii$Proxy
java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.logs.LogStreamProps.Jsii$Proxy
- All Implemented Interfaces:
LogStreamProps
,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
LogStreamProps
@Stability(Stable)
@Internal
public static final class LogStreamProps.Jsii$Proxy
extends software.amazon.jsii.JsiiObject
implements LogStreamProps
An implementation for
LogStreamProps
-
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.LogStreamProps
LogStreamProps.Builder, LogStreamProps.Jsii$Proxy
-
Constructor Summary
ModifierConstructorDescriptionprotected
Jsii$Proxy
(LogStreamProps.Builder builder) Constructor that initializes the object based on literal property values passed by theLogStreamProps.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 ILogGroup
The log group to create a log stream for.final String
The name of the log stream to create.final RemovalPolicy
Determine what happens when the log stream resource is removed from the app.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 theLogStreamProps.Builder
.
-
-
Method Details
-
getLogGroup
Description copied from interface:LogStreamProps
The log group to create a log stream for.- Specified by:
getLogGroup
in interfaceLogStreamProps
-
getLogStreamName
Description copied from interface:LogStreamProps
The name of the log stream to create.The name must be unique within the log group.
Default: Automatically generated
- Specified by:
getLogStreamName
in interfaceLogStreamProps
-
getRemovalPolicy
Description copied from interface:LogStreamProps
Determine what happens when the log stream resource is removed from the app.Normally 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
- Specified by:
getRemovalPolicy
in interfaceLogStreamProps
-
$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()
-