{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--aws-organizations-resourcepolicy.json",
  "title": "AWSOrganizationsResourcePolicyProperties",
  "description": "You can use AWS::Organizations::ResourcePolicy to delegate policy management for AWS Organizations to specified member accounts to perform policy actions that are by default available only to the management account.. Source:- <https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-organizations>",
  "x-lintel": {
    "source": "https://raw.githubusercontent.com/lalcebo/json-schema/master/serverless/resources/cloudformation-modified/aws-organizations-resourcepolicy.json",
    "sourceSha256": "a191a621c158f1c893d141bc9cd26748844300ada11b568e3573e23b02969823"
  },
  "type": "object",
  "properties": {
    "Content": {
      "description": "The policy document. For AWS CloudFormation templates formatted in YAML, you can provide the policy in JSON or YAML format. AWS CloudFormation always converts a YAML policy to JSON format before submitting it.",
      "type": [
        "object",
        "string"
      ],
      "pattern": "[\\s\\S]*",
      "minLength": 1,
      "maxLength": 40000
    },
    "Tags": {
      "description": "A list of tags that you want to attach to the resource policy",
      "type": "array",
      "uniqueItems": true,
      "insertionOrder": false,
      "items": {
        "$ref": "#/$defs/Tag"
      }
    }
  },
  "typeName": "AWS::Organizations::ResourcePolicy",
  "$defs": {
    "Tag": {
      "description": "A custom key-value pair associated with a resource within your organization.",
      "type": "object",
      "properties": {
        "Key": {
          "oneOf": [
            {
              "type": "string",
              "minLength": 1,
              "maxLength": 128
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ],
          "description": "The key identifier, or name, of the tag."
        },
        "Value": {
          "oneOf": [
            {
              "type": "string",
              "minLength": 0,
              "maxLength": 256
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ],
          "description": "The string value that's associated with the key of the tag. You can set the value of a tag to an empty string, but you can't set the value of a tag to null."
        }
      },
      "required": [
        "Key",
        "Value"
      ],
      "title": "AWSOrganizationsResourcePolicyTagDefinition",
      "additionalProperties": false
    }
  },
  "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-organizations",
  "primaryIdentifier": [
    "/properties/Id"
  ],
  "additionalProperties": false,
  "tagging": {
    "taggable": true,
    "tagOnCreate": true,
    "tagUpdatable": true,
    "cloudFormationSystemTags": false,
    "tagProperty": "/properties/Tags"
  },
  "required": [
    "Content"
  ],
  "readOnlyProperties": [
    "/properties/Id",
    "/properties/Arn"
  ]
}
