query_definitions_list_only
Lists query_definitions
in a region or regions, for all properties use query_definitions
Overview
Name | query_definitions_list_only |
Type | Resource |
Description | The resource schema for AWSLogs QueryDefinition |
Id | aws.logs.query_definitions_list_only |
Fields
Name | Datatype | Description |
---|---|---|
name | string | A name for the saved query definition |
query_string | string | The query string to use for this definition |
log_group_names | array | Optionally define specific log groups as part of your query definition |
query_definition_id | string | Unique identifier of a query definition |
region | string | AWS region. |
Methods
Name | Accessible by | Required Params |
---|---|---|
list_resources | SELECT | region |
SELECT
examples
Lists all query_definitions
in a region.
SELECT
region,
query_definition_id
FROM aws.logs.query_definitions_list_only
WHERE region = 'us-east-1';
Permissions
For permissions required to operate on the query_definitions_list_only
resource, see query_definitions