Amazon Config · JSON Structure

Config Stored Query Structure

Provides the details of a stored query.

Type: object Properties: 5 Required: 1
AuditingComplianceConfiguration ManagementGovernanceSecurity

StoredQuery is a JSON Structure definition published by Amazon Config, describing 5 properties, of which 1 is required. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Properties

QueryId QueryArn QueryName Description Expression

Meta-schema: https://json-structure.org/meta/core/v0/#

JSON Structure

Raw ↑
{
  "$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, <code>SELECT resourceId, resourceType, supplementaryConfiguration.BucketVersioningConfiguration.status WHERE resourceType = 'AWS::S3::Bucket' AND supplementaryConfiguration.BucketVersioningConfiguration.status = 'Off'.</code> "
        }
      ]
    }
  },
  "required": [
    "QueryName"
  ]
}