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

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import 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