Properties for a LogStream.
|log||The log group to create a log stream for.|
|log||The name of the log stream to create.|
|removal||Determine what happens when the log stream resource is removed from the app.|
The log group to create a log stream for.
(optional, default: Automatically generated)
The name of the log stream to create.
The name must be unique within the log group.
(optional, default: RemovalPolicy.Retain)
Determine what happens when the log stream resource is removed from the app.
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.