--- # generated by https://github.com/hashicorp/terraform-plugin-docs page_title: "awscc_logs_query_definition Resource - terraform-provider-awscc" subcategory: "" description: |- The resource schema for AWSLogs QueryDefinition --- # awscc_logs_query_definition (Resource) The resource schema for AWSLogs QueryDefinition ## Schema ### Required - `name` (String) A name for the saved query definition - `query_string` (String) The query string to use for this definition ### Optional - `log_group_names` (List of String) Optionally define specific log groups as part of your query definition ### Read-Only - `id` (String) Uniquely identifies the resource. - `query_definition_id` (String) Unique identifier of a query definition ## Import Import is supported using the following syntax: ```shell $ terraform import awscc_logs_query_definition.example ```