Skip to main content

query_definitions_list_only

Lists query_definitions in a region or regions, for all properties use query_definitions

Overview

Namequery_definitions_list_only
TypeResource
DescriptionThe resource schema for AWSLogs QueryDefinition
Idaws.logs.query_definitions_list_only

Fields

NameDatatypeDescription
namestringA name for the saved query definition
query_stringstringThe query string to use for this definition
log_group_namesarrayOptionally define specific log groups as part of your query definition
query_definition_idstringUnique identifier of a query definition
regionstringAWS region.

Methods

NameAccessible byRequired Params
list_resourcesSELECTregion

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