{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--aws-transfer-user.json",
  "title": "AWSTransferUserProperties",
  "description": "Resource Type definition for AWS::Transfer::User. Source:- No source definition found, add manually please",
  "x-lintel": {
    "source": "https://raw.githubusercontent.com/lalcebo/json-schema/master/serverless/resources/cloudformation-modified/aws-transfer-user.json",
    "sourceSha256": "e45501ead880c588f9df7d248bb0712076cbf5cd8d3a679c3502fbbd1cbaa6d0"
  },
  "type": "object",
  "properties": {
    "Policy": {
      "oneOf": [
        {
          "type": "string"
        },
        {
          "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
        }
      ]
    },
    "Role": {
      "oneOf": [
        {
          "type": "string"
        },
        {
          "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
        }
      ]
    },
    "HomeDirectory": {
      "oneOf": [
        {
          "type": "string"
        },
        {
          "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
        }
      ]
    },
    "HomeDirectoryType": {
      "oneOf": [
        {
          "type": "string"
        },
        {
          "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
        }
      ]
    },
    "ServerId": {
      "oneOf": [
        {
          "type": "string"
        },
        {
          "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
        }
      ]
    },
    "UserName": {
      "oneOf": [
        {
          "type": "string"
        },
        {
          "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
        }
      ]
    },
    "HomeDirectoryMappings": {
      "type": "array",
      "uniqueItems": false,
      "items": {
        "$ref": "#/$defs/HomeDirectoryMapEntry"
      }
    },
    "PosixProfile": {
      "$ref": "#/$defs/PosixProfile"
    },
    "SshPublicKeys": {
      "type": "array",
      "uniqueItems": false,
      "items": {
        "$ref": "#/$defs/SshPublicKey"
      }
    },
    "Tags": {
      "type": "array",
      "uniqueItems": false,
      "items": {
        "$ref": "#/$defs/Tag"
      }
    }
  },
  "typeName": "AWS::Transfer::User",
  "readOnlyProperties": [
    "/properties/Id",
    "/properties/Arn"
  ],
  "$defs": {
    "SshPublicKey": {
      "type": "object",
      "title": "AWSTransferUserSshPublicKeyDefinition",
      "additionalProperties": false
    },
    "PosixProfile": {
      "type": "object",
      "title": "AWSTransferUserPosixProfileDefinition",
      "properties": {
        "Uid": {
          "type": "number"
        },
        "SecondaryGids": {
          "type": "array",
          "uniqueItems": false,
          "items": {
            "type": "number"
          }
        },
        "Gid": {
          "type": "number"
        }
      },
      "required": [
        "Uid",
        "Gid"
      ],
      "additionalProperties": false
    },
    "Tag": {
      "type": "object",
      "title": "AWSTransferUserTagDefinition",
      "properties": {
        "Value": {
          "oneOf": [
            {
              "type": "string"
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ]
        },
        "Key": {
          "oneOf": [
            {
              "type": "string"
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ]
        }
      },
      "required": [
        "Value",
        "Key"
      ],
      "additionalProperties": false
    },
    "HomeDirectoryMapEntry": {
      "type": "object",
      "title": "AWSTransferUserHomeDirectoryMapEntryDefinition",
      "properties": {
        "Entry": {
          "oneOf": [
            {
              "type": "string"
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ]
        },
        "Target": {
          "oneOf": [
            {
              "type": "string"
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ]
        }
      },
      "required": [
        "Entry",
        "Target"
      ],
      "additionalProperties": false
    }
  },
  "primaryIdentifier": [
    "/properties/Id"
  ],
  "additionalProperties": false,
  "required": [
    "Role",
    "ServerId",
    "UserName"
  ],
  "createOnlyProperties": [
    "/properties/ServerId",
    "/properties/UserName"
  ]
}
