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

    Constructors
    Modifier
    Constructor
    Description
    protected
    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.
  • Method Summary

    Modifier and Type
    Method
    Description
    com.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.
    Determine what happens when the log stream resource is removed from the app.
    final int
     

    Methods inherited from class software.amazon.jsii.JsiiObject

    jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
  • 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

      protected Jsii$Proxy(LogStreamProps.Builder builder)
      Constructor that initializes the object based on literal property values passed by the LogStreamProps.Builder.
  • Method Details

    • getLogGroup

      public final ILogGroup getLogGroup()
      Description copied from interface: LogStreamProps
      The log group to create a log stream for.
      Specified by:
      getLogGroup in interface LogStreamProps
    • getLogStreamName

      public final String 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 interface LogStreamProps
    • getRemovalPolicy

      public final RemovalPolicy 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 interface LogStreamProps
    • $jsii$toJson

      @Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
      Specified by:
      $jsii$toJson in interface software.amazon.jsii.JsiiSerializable
    • equals

      public final boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public final int hashCode()
      Overrides:
      hashCode in class Object