{ "$schema": "https://json-structure.org/meta/core/v0/#", "$id": "https://raw.githubusercontent.com/api-evangelist/amazon-config/refs/heads/main/json-structure/config-stored-query-structure.json", "name": "StoredQuery", "description": "Provides the details of a stored query.", "type": "object", "properties": { "QueryId": { "allOf": [ { "$ref": "#/components/schemas/QueryId" }, { "description": "The ID of the query." } ] }, "QueryArn": { "allOf": [ { "$ref": "#/components/schemas/QueryArn" }, { "description": "Amazon Resource Name (ARN) of the query. For example, arn:partition:service:region:account-id:resource-type/resource-name/resource-id." } ] }, "QueryName": { "allOf": [ { "$ref": "#/components/schemas/QueryName" }, { "description": "The name of the query." } ] }, "Description": { "allOf": [ { "$ref": "#/components/schemas/QueryDescription" }, { "description": "A unique description for the query." } ] }, "Expression": { "allOf": [ { "$ref": "#/components/schemas/QueryExpression" }, { "description": "The expression of the query. For example, SELECT resourceId, resourceType, supplementaryConfiguration.BucketVersioningConfiguration.status WHERE resourceType = 'AWS::S3::Bucket' AND supplementaryConfiguration.BucketVersioningConfiguration.status = 'Off'. " } ] } }, "required": [ "QueryName" ] }