Amazon Config · Schema

ComplianceByResource

Indicates whether an Amazon Web Services resource that is evaluated according to one or more Config rules is compliant. A resource is compliant if it complies with all of the rules that evaluate it. A resource is noncompliant if it does not comply with one or more of these rules.

AuditingComplianceConfiguration ManagementGovernanceSecurity

Properties

Name Type Description
ResourceType object
ResourceId object
Compliance object
View JSON Schema on GitHub

JSON Schema

config-compliance-by-resource-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/amazon-config/refs/heads/main/json-schema/config-compliance-by-resource-schema.json",
  "title": "ComplianceByResource",
  "description": "Indicates whether an Amazon Web Services resource that is evaluated according to one or more Config rules is compliant. A resource is compliant if it complies with all of the rules that evaluate it. A resource is noncompliant if it does not comply with one or more of these rules.",
  "type": "object",
  "properties": {
    "ResourceType": {
      "allOf": [
        {
          "$ref": "#/components/schemas/StringWithCharLimit256"
        },
        {
          "description": "The type of the Amazon Web Services resource that was evaluated."
        }
      ]
    },
    "ResourceId": {
      "allOf": [
        {
          "$ref": "#/components/schemas/BaseResourceId"
        },
        {
          "description": "The ID of the Amazon Web Services resource that was evaluated."
        }
      ]
    },
    "Compliance": {
      "allOf": [
        {
          "$ref": "#/components/schemas/Compliance"
        },
        {
          "description": "Indicates whether the Amazon Web Services resource complies with all of the Config rules that evaluated it."
        }
      ]
    }
  }
}