Amazon Config · JSON Structure

Config Organization Custom Policy Rule Metadata Structure

An object that specifies metadata for your organization's Config Custom Policy rule. The metadata includes the runtime system in use, which accounts have debug logging enabled, and other custom rule metadata, such as resource type, resource ID of Amazon Web Services resource, and organization trigger types that initiate Config to evaluate Amazon Web Services resources against a rule.

Type: object Properties: 11 Required: 2
AuditingComplianceConfiguration ManagementGovernanceSecurity

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

Properties

Description OrganizationConfigRuleTriggerTypes InputParameters MaximumExecutionFrequency ResourceTypesScope ResourceIdScope TagKeyScope TagValueScope PolicyRuntime PolicyText DebugLogDeliveryAccounts

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-organization-custom-policy-rule-metadata-structure.json",
  "name": "OrganizationCustomPolicyRuleMetadata",
  "description": "An object that specifies metadata for your organization's Config Custom Policy rule. The metadata includes the runtime system in use, which accounts have debug logging enabled, and other custom rule metadata, such as resource type, resource ID of Amazon Web Services resource, and organization trigger types that initiate Config to evaluate Amazon Web Services resources against a rule.",
  "type": "object",
  "properties": {
    "Description": {
      "allOf": [
        {
          "$ref": "#/components/schemas/StringWithCharLimit256Min0"
        },
        {
          "description": "The description that you provide for your organization Config Custom Policy rule."
        }
      ]
    },
    "OrganizationConfigRuleTriggerTypes": {
      "allOf": [
        {
          "$ref": "#/components/schemas/OrganizationConfigRuleTriggerTypeNoSNs"
        },
        {
          "description": "<p>The type of notification that initiates Config to run an evaluation for a rule. For Config Custom Policy rules, Config supports change-initiated notification types:</p> <ul> <li> <p> <code>ConfigurationItemChangeNotification</code> - Initiates an evaluation when Config delivers a configuration item as a result of a resource change.</p> </li> <li> <p> <code>OversizedConfigurationItemChangeNotification</code> - Initiates an evaluation when Config delivers an oversized configuration item. Config may generate this notification type when a resource changes and the notification exceeds the maximum size allowed by Amazon SNS.</p> </li> </ul>"
        }
      ]
    },
    "InputParameters": {
      "allOf": [
        {
          "$ref": "#/components/schemas/StringWithCharLimit2048"
        },
        {
          "description": "A string, in JSON format, that is passed to your organization Config Custom Policy rule."
        }
      ]
    },
    "MaximumExecutionFrequency": {
      "allOf": [
        {
          "$ref": "#/components/schemas/MaximumExecutionFrequency"
        },
        {
          "description": "The maximum frequency with which Config runs evaluations for a rule. Your Config Custom Policy rule is triggered when Config delivers the configuration snapshot. For more information, see <a>ConfigSnapshotDeliveryProperties</a>."
        }
      ]
    },
    "ResourceTypesScope": {
      "allOf": [
        {
          "$ref": "#/components/schemas/ResourceTypesScope"
        },
        {
          "description": "The type of the Amazon Web Services resource that was evaluated."
        }
      ]
    },
    "ResourceIdScope": {
      "allOf": [
        {
          "$ref": "#/components/schemas/StringWithCharLimit768"
        },
        {
          "description": "The ID of the Amazon Web Services resource that was evaluated."
        }
      ]
    },
    "TagKeyScope": {
      "allOf": [
        {
          "$ref": "#/components/schemas/StringWithCharLimit128"
        },
        {
          "description": "One part of a key-value pair that make up a tag. A key is a general label that acts like a category for more specific tag values."
        }
      ]
    },
    "TagValueScope": {
      "allOf": [
        {
          "$ref": "#/components/schemas/StringWithCharLimit256"
        },
        {
          "description": "The optional part of a key-value pair that make up a tag. A value acts as a descriptor within a tag category (key)."
        }
      ]
    },
    "PolicyRuntime": {
      "allOf": [
        {
          "$ref": "#/components/schemas/PolicyRuntime"
        },
        {
          "description": "The runtime system for your organization Config Custom Policy rules. Guard is a policy-as-code language that allows you to write policies that are enforced by Config Custom Policy rules. For more information about Guard, see the <a href=\"https://github.com/aws-cloudformation/cloudformation-guard\">Guard GitHub Repository</a>."
        }
      ]
    },
    "PolicyText": {
      "allOf": [
        {
          "$ref": "#/components/schemas/PolicyText"
        },
        {
          "description": "The policy definition containing the logic for your organization Config Custom Policy rule."
        }
      ]
    },
    "DebugLogDeliveryAccounts": {
      "allOf": [
        {
          "$ref": "#/components/schemas/DebugLogDeliveryAccounts"
        },
        {
          "description": "A list of accounts that you can enable debug logging for your organization Config Custom Policy rule. List is null when debug logging is enabled for all accounts."
        }
      ]
    }
  },
  "required": [
    "PolicyRuntime",
    "PolicyText"
  ]
}

Work with this as data

Every JSON Structure here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for json structure

4 MCP tools reach this
  • find_json_structuresBrowse and filter every JSON Structure in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools

Call it yourself

curl for this page
This JSON Structure
curl "https://apis.io/api/v1/json-structures/config-organization-custom-policy-rule-metadata-structure"
All json structure
curl "https://apis.io/api/v1/json-structures?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no email required.

A second provider on the same verified email joins the account you already have.