log_streams
Retrieves a list of log_streams
in a region
Overview
Name | log_streams |
Type | Resource |
Description | log_streams |
Id | awscc.logs.log_streams |
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_streams
WHERE region = 'us-east-1'
Permissions
To operate on the log_streams
resource, the following permissions are required:
Create
logs:CreateLogStream
List
logs:DescribeLogStreams