{ "$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-rule-metadata-structure.json", "name": "OrganizationCustomRuleMetadata", "description": " organization custom rule metadata such as resource type, resource ID of Amazon Web Services resource, Lambda function ARN, and organization trigger types that trigger Config to evaluate your Amazon Web Services resources against a rule. It also provides the frequency with which you want Config to run evaluations for the rule if the trigger type is periodic.", "type": "object", "properties": { "Description": { "allOf": [ { "$ref": "#/components/schemas/StringWithCharLimit256Min0" }, { "description": "The description that you provide for your organization Config rule." } ] }, "LambdaFunctionArn": { "allOf": [ { "$ref": "#/components/schemas/StringWithCharLimit256" }, { "description": "The lambda function ARN." } ] }, "OrganizationConfigRuleTriggerTypes": { "allOf": [ { "$ref": "#/components/schemas/OrganizationConfigRuleTriggerTypes" }, { "description": "

The type of notification that triggers Config to run an evaluation for a rule. You can specify the following notification types:

" } ] }, "InputParameters": { "allOf": [ { "$ref": "#/components/schemas/StringWithCharLimit2048" }, { "description": "A string, in JSON format, that is passed to your organization Config rule Lambda function." } ] }, "MaximumExecutionFrequency": { "allOf": [ { "$ref": "#/components/schemas/MaximumExecutionFrequency" }, { "description": "

The maximum frequency with which Config runs evaluations for a rule. Your custom rule is triggered when Config delivers the configuration snapshot. For more information, see ConfigSnapshotDeliveryProperties.

By default, rules with a periodic trigger are evaluated every 24 hours. To change the frequency, specify a valid value for the MaximumExecutionFrequency parameter.

" } ] }, "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). " } ] } }, "required": [ "LambdaFunctionArn", "OrganizationConfigRuleTriggerTypes" ] }