LogStreamAttributes
- class aws_cdk.aws_logs.LogStreamAttributes(*, log_group_name, log_stream_name)
Bases:
objectAttributes for importing a LogStream.
- Parameters:
log_group_name (
str) – The name of the log group. Default: - When not provided, logStreamRef will throw an errorlog_stream_name (
str) – The name of the log stream.
- 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 log_stream_attributes = logs.LogStreamAttributes( log_group_name="logGroupName", log_stream_name="logStreamName" )
Attributes
- log_group_name
The name of the log group.
- Default:
When not provided, logStreamRef will throw an error
- log_stream_name
The name of the log stream.