{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--aws-controltower-enabledcontrol.json",
  "title": "AWSControlTowerEnabledControlProperties",
  "description": "Enables a control on a specified target.. Source:- <https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-controltower>",
  "x-lintel": {
    "source": "https://raw.githubusercontent.com/lalcebo/json-schema/master/serverless/resources/cloudformation-modified/aws-controltower-enabledcontrol.json",
    "sourceSha256": "e83bc71458bf2ce981aa0706c9c76ce84f7bcde2c55c81942abad1dd0d2de8e5"
  },
  "type": "object",
  "properties": {
    "ControlIdentifier": {
      "oneOf": [
        {
          "type": "string",
          "pattern": "^arn:aws[0-9a-zA-Z_\\-:\\/]+$",
          "minLength": 20,
          "maxLength": 2048
        },
        {
          "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
        }
      ],
      "description": "Arn of the control."
    },
    "TargetIdentifier": {
      "oneOf": [
        {
          "type": "string",
          "pattern": "^arn:aws[0-9a-zA-Z_\\-:\\/]+$",
          "minLength": 20,
          "maxLength": 2048
        },
        {
          "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
        }
      ],
      "description": "Arn for Organizational unit to which the control needs to be applied"
    }
  },
  "typeName": "AWS::ControlTower::EnabledControl",
  "tagging": {
    "taggable": false,
    "tagOnCreate": false,
    "tagUpdatable": false,
    "cloudFormationSystemTags": false
  },
  "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-controltower",
  "createOnlyProperties": [
    "/properties/TargetIdentifier",
    "/properties/ControlIdentifier"
  ],
  "required": [
    "TargetIdentifier",
    "ControlIdentifier"
  ],
  "additionalProperties": false,
  "primaryIdentifier": [
    "/properties/TargetIdentifier",
    "/properties/ControlIdentifier"
  ]
}
