Interface LogStreamAttributes
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
LogStreamAttributes.Jsii$Proxy
@Generated(value="jsii-pacmak/1.125.0 (build fdbe357)",
date="2026-01-23T11:19:49.861Z")
@Stability(Stable)
public interface LogStreamAttributes
extends software.amazon.jsii.JsiiSerializable
Attributes for importing a LogStream.
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.*;
LogStreamAttributes logStreamAttributes = LogStreamAttributes.builder()
.logGroupName("logGroupName")
.logStreamName("logStreamName")
.build();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forLogStreamAttributesstatic final classAn implementation forLogStreamAttributes -
Method Summary
Modifier and TypeMethodDescriptionstatic LogStreamAttributes.Builderbuilder()The name of the log group.The name of the log stream.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getLogGroupName
The name of the log group.Default: - When not provided, logStreamRef will throw an error
-
getLogStreamName
The name of the log stream. -
builder
- Returns:
- a
LogStreamAttributes.BuilderofLogStreamAttributes
-