Interface StreamOptions

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
StreamOptions.Jsii$Proxy

@Generated(value="jsii-pacmak/1.104.0 (build e79254c)", date="2024-11-22T02:24:04.299Z") @Stability(Stable) public interface StreamOptions extends software.amazon.jsii.JsiiSerializable
Properties for a new LogStream created from a LogGroup.

Example:

 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 import software.amazon.awscdk.services.logs.*;
 StreamOptions streamOptions = StreamOptions.builder()
         .logStreamName("logStreamName")
         .build();
 
  • Method Details

    • getLogStreamName

      @Stability(Stable) @Nullable default String getLogStreamName()
      The name of the log stream to create.

      The name must be unique within the log group.

      Default: Automatically generated

    • builder

      @Stability(Stable) static StreamOptions.Builder builder()
      Returns:
      a StreamOptions.Builder of StreamOptions