{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--aws-backup-backupselection.json",
  "title": "AWSBackupBackupSelectionProperties",
  "description": "Resource Type definition for AWS::Backup::BackupSelection. Source:- <https://github.com/aws-cloudformation/aws-cloudformation-rpdk.git>",
  "x-lintel": {
    "source": "https://raw.githubusercontent.com/lalcebo/json-schema/master/serverless/resources/cloudformation-modified/aws-backup-backupselection.json",
    "sourceSha256": "44d82516a9c37404936f795f2909a5e678a113f213ffc30faeaebe580514309a"
  },
  "type": "object",
  "properties": {
    "BackupPlanId": {
      "oneOf": [
        {
          "type": "string"
        },
        {
          "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
        }
      ]
    },
    "BackupSelection": {
      "$ref": "#/$defs/BackupSelectionResourceType"
    }
  },
  "typeName": "AWS::Backup::BackupSelection",
  "taggable": false,
  "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-rpdk.git",
  "additionalProperties": false,
  "required": [
    "BackupSelection",
    "BackupPlanId"
  ],
  "createOnlyProperties": [
    "/properties/BackupSelection",
    "/properties/BackupPlanId"
  ],
  "primaryIdentifier": [
    "/properties/Id"
  ],
  "readOnlyProperties": [
    "/properties/SelectionId",
    "/properties/Id"
  ],
  "$defs": {
    "BackupSelectionResourceType": {
      "type": "object",
      "title": "AWSBackupBackupSelectionBackupSelectionResourceTypeDefinition",
      "properties": {
        "IamRoleArn": {
          "oneOf": [
            {
              "type": "string"
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ]
        },
        "ListOfTags": {
          "type": "array",
          "uniqueItems": false,
          "insertionOrder": false,
          "items": {
            "$ref": "#/$defs/ConditionResourceType"
          }
        },
        "Resources": {
          "type": "array",
          "uniqueItems": false,
          "insertionOrder": false,
          "items": {
            "type": "string"
          }
        },
        "SelectionName": {
          "oneOf": [
            {
              "type": "string"
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ]
        },
        "NotResources": {
          "type": "array",
          "uniqueItems": false,
          "insertionOrder": false,
          "items": {
            "type": "string"
          }
        },
        "Conditions": {
          "type": "object",
          "properties": {
            "StringEquals": {
              "type": "array",
              "uniqueItems": false,
              "insertionOrder": false,
              "items": {
                "$ref": "#/$defs/ConditionParameter"
              }
            },
            "StringNotEquals": {
              "type": "array",
              "uniqueItems": false,
              "insertionOrder": false,
              "items": {
                "$ref": "#/$defs/ConditionParameter"
              }
            },
            "StringLike": {
              "type": "array",
              "uniqueItems": false,
              "insertionOrder": false,
              "items": {
                "$ref": "#/$defs/ConditionParameter"
              }
            },
            "StringNotLike": {
              "type": "array",
              "uniqueItems": false,
              "insertionOrder": false,
              "items": {
                "$ref": "#/$defs/ConditionParameter"
              }
            }
          },
          "additionalProperties": false
        }
      },
      "required": [
        "SelectionName",
        "IamRoleArn"
      ],
      "additionalProperties": false
    },
    "ConditionParameter": {
      "type": "object",
      "title": "AWSBackupBackupSelectionConditionParameterDefinition",
      "properties": {
        "ConditionKey": {
          "oneOf": [
            {
              "type": "string"
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ]
        },
        "ConditionValue": {
          "oneOf": [
            {
              "type": "string"
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ]
        }
      },
      "additionalProperties": false
    },
    "ConditionResourceType": {
      "type": "object",
      "title": "AWSBackupBackupSelectionConditionResourceTypeDefinition",
      "properties": {
        "ConditionKey": {
          "oneOf": [
            {
              "type": "string"
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ]
        },
        "ConditionValue": {
          "oneOf": [
            {
              "type": "string"
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ]
        },
        "ConditionType": {
          "oneOf": [
            {
              "type": "string"
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ]
        }
      },
      "required": [
        "ConditionValue",
        "ConditionKey",
        "ConditionType"
      ],
      "additionalProperties": false
    }
  }
}
