CfnLogStreamMixinProps
- class aws_cdk.mixins_preview.aws_logs.mixins.CfnLogStreamMixinProps(*, log_group_name=None, log_stream_name=None)
Bases:
objectProperties for CfnLogStreamPropsMixin.
- Parameters:
log_group_name (
Optional[str]) – The name of the log group where the log stream is created.log_stream_name (
Optional[str]) – The name of the log stream. The name must be unique within the log group.
- See:
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-logs-logstream.html
- 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.mixins_preview.aws_logs import mixins as logs_mixins cfn_log_stream_mixin_props = logs_mixins.CfnLogStreamMixinProps( log_group_name="logGroupName", log_stream_name="logStreamName" )
Attributes
- log_group_name
The name of the log group where the log stream is created.
- log_stream_name
The name of the log stream.
The name must be unique within the log group.