log_stream
Gets an individual log_stream
resource
Overview
Name | log_stream |
Type | Resource |
Description | log_stream |
Id | awscc.logs.log_stream |
Fields
Name | Datatype | Description |
---|---|---|
log_group_name | string | The name of the log group where the log stream is created. |
log_stream_name | string | The name of the log stream. The name must be unique wihtin the log group. |
region | string | AWS region. |
Methods
Currently only SELECT
is supported for this resource resource.
Example
SELECT
region,
log_group_name,
log_stream_name
FROM awscc.logs.log_stream
WHERE data__Identifier = '<LogGroupName>|<LogStreamName>';
Permissions
To operate on the log_stream
resource, the following permissions are required:
Read
logs:DescribeLogStreams
Delete
logs:DeleteLogStream