Interface StreamOptions
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
StreamOptions.Jsii$Proxy
@Generated(value="jsii-pacmak/1.119.0 (build 1634eac)",
date="2025-11-20T23:37:24.861Z")
@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();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forStreamOptionsstatic final classAn implementation forStreamOptions -
Method Summary
Modifier and TypeMethodDescriptionstatic StreamOptions.Builderbuilder()default StringThe name of the log stream to create.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getLogStreamName
The name of the log stream to create.The name must be unique within the log group.
Default: Automatically generated
-
builder
- Returns:
- a
StreamOptions.BuilderofStreamOptions
-