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.InitializationModeNested classes/interfaces inherited from interface software.amazon.awscdk.services.logs.LogStreamProps
LogStreamProps.Builder, LogStreamProps.Jsii$Proxy -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedJsii$Proxy(LogStreamProps.Builder builder) Constructor that initializes the object based on literal property values passed by theLogStreamProps.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 ILogGroupThe log group to create a log stream for.final StringThe name of the log stream to create.final RemovalPolicyDetermine what happens when the log stream resource is removed from the app.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 theLogStreamProps.Builder.
-
-
Method Details
-
getLogGroup
Description copied from interface:LogStreamPropsThe log group to create a log stream for.- Specified by:
getLogGroupin interfaceLogStreamProps
-
getLogStreamName
Description copied from interface:LogStreamPropsThe name of the log stream to create.The name must be unique within the log group.
Default: Automatically generated
- Specified by:
getLogStreamNamein interfaceLogStreamProps
-
getRemovalPolicy
Description copied from interface:LogStreamPropsDetermine 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:
getRemovalPolicyin interfaceLogStreamProps
-
$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()
-