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();
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forStreamOptions
static final class
An implementation forStreamOptions
-
Method Summary
Modifier and TypeMethodDescriptionstatic StreamOptions.Builder
builder()
default String
The 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.Builder
ofStreamOptions
-