Amazon Config · Schema

Relationship

The relationship of the related resource to the main resource.

AuditingComplianceConfiguration ManagementGovernanceSecurity

Properties

Name Type Description
resourceType object
resourceId object
resourceName object
relationshipName object
View JSON Schema on GitHub

JSON Schema

config-relationship-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-relationship-schema.json",
  "title": "Relationship",
  "description": "The relationship of the related resource to the main resource.",
  "type": "object",
  "properties": {
    "resourceType": {
      "allOf": [
        {
          "$ref": "#/components/schemas/ResourceType"
        },
        {
          "description": "The resource type of the related resource."
        }
      ]
    },
    "resourceId": {
      "allOf": [
        {
          "$ref": "#/components/schemas/ResourceId"
        },
        {
          "description": "The ID of the related resource (for example, <code>sg-xxxxxx</code>)."
        }
      ]
    },
    "resourceName": {
      "allOf": [
        {
          "$ref": "#/components/schemas/ResourceName"
        },
        {
          "description": "The custom name of the related resource, if available."
        }
      ]
    },
    "relationshipName": {
      "allOf": [
        {
          "$ref": "#/components/schemas/RelationshipName"
        },
        {
          "description": "The type of relationship with the related resource."
        }
      ]
    }
  }
}