Interface StreamOptions

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

@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)", date="2023-06-19T16:30:38.139Z") @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