{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--aws-ssm-resourcedatasync.json",
  "title": "AWSSSMResourceDataSyncProperties",
  "description": "Resource Type definition for AWS::SSM::ResourceDataSync. Source:- No source definition found, add manually please",
  "x-lintel": {
    "source": "https://raw.githubusercontent.com/lalcebo/json-schema/master/serverless/resources/cloudformation-modified/aws-ssm-resourcedatasync.json",
    "sourceSha256": "6ce246f0ef39dcb8196d9359528db67c2fd008d798b62103ef40ba2011bc6802"
  },
  "type": "object",
  "properties": {
    "S3Destination": {
      "$ref": "#/$defs/S3Destination"
    },
    "KMSKeyArn": {
      "oneOf": [
        {
          "type": "string",
          "minLength": 0,
          "maxLength": 512
        },
        {
          "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
        }
      ]
    },
    "SyncSource": {
      "$ref": "#/$defs/SyncSource"
    },
    "BucketName": {
      "oneOf": [
        {
          "type": "string",
          "minLength": 1,
          "maxLength": 2048
        },
        {
          "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
        }
      ]
    },
    "BucketRegion": {
      "oneOf": [
        {
          "type": "string",
          "minLength": 1,
          "maxLength": 64
        },
        {
          "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
        }
      ]
    },
    "SyncFormat": {
      "oneOf": [
        {
          "type": "string",
          "minLength": 0,
          "maxLength": 1024
        },
        {
          "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
        }
      ]
    },
    "SyncType": {
      "oneOf": [
        {
          "type": "string",
          "minLength": 1,
          "maxLength": 64
        },
        {
          "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
        }
      ]
    },
    "BucketPrefix": {
      "oneOf": [
        {
          "type": "string",
          "minLength": 0,
          "maxLength": 64
        },
        {
          "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
        }
      ]
    }
  },
  "typeName": "AWS::SSM::ResourceDataSync",
  "readOnlyProperties": [
    "/properties/SyncName"
  ],
  "$defs": {
    "S3Destination": {
      "type": "object",
      "title": "AWSSSMResourceDataSyncS3DestinationDefinition",
      "properties": {
        "KMSKeyArn": {
          "oneOf": [
            {
              "type": "string",
              "minLength": 1,
              "maxLength": 512
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ]
        },
        "BucketPrefix": {
          "oneOf": [
            {
              "type": "string",
              "minLength": 1,
              "maxLength": 256
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ]
        },
        "BucketName": {
          "oneOf": [
            {
              "type": "string",
              "minLength": 1,
              "maxLength": 2048
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ]
        },
        "BucketRegion": {
          "oneOf": [
            {
              "type": "string",
              "minLength": 1,
              "maxLength": 64
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ]
        },
        "SyncFormat": {
          "oneOf": [
            {
              "type": "string",
              "minLength": 1,
              "maxLength": 1024
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ]
        }
      },
      "required": [
        "BucketName",
        "BucketRegion",
        "SyncFormat"
      ],
      "additionalProperties": false
    },
    "SyncSource": {
      "type": "object",
      "title": "AWSSSMResourceDataSyncSyncSourceDefinition",
      "properties": {
        "IncludeFutureRegions": {
          "type": "boolean"
        },
        "SourceRegions": {
          "type": "array",
          "uniqueItems": false,
          "items": {
            "type": "string"
          }
        },
        "SourceType": {
          "oneOf": [
            {
              "type": "string",
              "minLength": 1,
              "maxLength": 64
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ]
        },
        "AwsOrganizationsSource": {
          "$ref": "#/$defs/AwsOrganizationsSource"
        }
      },
      "required": [
        "SourceType",
        "SourceRegions"
      ],
      "additionalProperties": false
    },
    "AwsOrganizationsSource": {
      "type": "object",
      "title": "AWSSSMResourceDataSyncAwsOrganizationsSourceDefinition",
      "properties": {
        "OrganizationalUnits": {
          "type": "array",
          "uniqueItems": false,
          "items": {
            "type": "string"
          }
        },
        "OrganizationSourceType": {
          "oneOf": [
            {
              "type": "string",
              "minLength": 1,
              "maxLength": 64
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ]
        }
      },
      "required": [
        "OrganizationSourceType"
      ],
      "additionalProperties": false
    }
  },
  "primaryIdentifier": [
    "/properties/SyncName"
  ],
  "additionalProperties": false,
  "required": [
    "SyncName"
  ],
  "createOnlyProperties": [
    "/properties/KMSKeyArn",
    "/properties/SyncFormat",
    "/properties/BucketPrefix",
    "/properties/SyncName",
    "/properties/BucketRegion",
    "/properties/BucketName",
    "/properties/S3Destination",
    "/properties/SyncType"
  ]
}
