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.
{
"$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."
}
]
}
}
}
Discovery needs no key. Ratings and market analysis are Pro.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we
store it to create your key and to recognise you if you sign in with another
provider. See our Privacy Policy and
Terms.