@Generated(value="jsii-pacmak/1.29.0 (build 41df200)", date="2021-06-02T09:55:31.740Z") @Stability(value=Experimental) public interface LogStreamProps extends software.amazon.jsii.JsiiSerializable
| Modifier and Type | Interface and Description |
|---|---|
static class |
LogStreamProps.Builder
A builder for
LogStreamProps |
static class |
LogStreamProps.Jsii$Proxy
An implementation for
LogStreamProps |
| Modifier and Type | Method and Description |
|---|---|
static LogStreamProps.Builder |
builder() |
ILogGroup |
getLogGroup()
(experimental) The log group to create a log stream for.
|
default String |
getLogStreamName()
(experimental) The name of the log stream to create.
|
default RemovalPolicy |
getRemovalPolicy()
(experimental) Determine what happens when the log stream resource is removed from the app.
|
@Stability(value=Experimental) @NotNull ILogGroup getLogGroup()
@Stability(value=Experimental) @Nullable default String getLogStreamName()
The name must be unique within the log group.
Default: Automatically generated
@Stability(value=Experimental) @Nullable default RemovalPolicy getRemovalPolicy()
Normally you want to retain the log stream so you can diagnose issues from logs even after a deployment that no longer includes the log stream.
The date-based retention policy of your log group will age out the logs after a certain time.
Default: RemovalPolicy.Retain
@Stability(value=Experimental) static LogStreamProps.Builder builder()
LogStreamProps.Builder of LogStreamPropsCopyright © 2021. All rights reserved.