StreamOptions

class aws_cdk.aws_logs.StreamOptions(*, log_stream_name=None)

Bases: object

Properties for a new LogStream created from a LogGroup.

Parameters

log_stream_name (Optional[str]) – The name of the log stream to create. The name must be unique within the log group. Default: Automatically generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
import aws_cdk.aws_logs as logs

stream_options = logs.StreamOptions(
    log_stream_name="logStreamName"
)

Attributes

log_stream_name

The name of the log stream to create.

The name must be unique within the log group.

Default

Automatically generated

Return type

Optional[str]