Interface StreamOptions

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

@Generated(value="jsii-pacmak/1.103.1 (build bef2dea)", date="2024-10-05T03:43:45.950Z") @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