{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--aws-transfer-connector.json",
  "title": "AWSTransferConnectorProperties",
  "description": "Resource Type definition for AWS::Transfer::Connector. 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-connector.json",
    "sourceSha256": "56b5f6634dfc6ce3db2598737630959062cb2e2bc09e4e29747f4a07d070c5a3"
  },
  "type": "object",
  "properties": {
    "AccessRole": {
      "oneOf": [
        {
          "type": "string",
          "pattern": "arn:.*role/.*",
          "minLength": 20,
          "maxLength": 2048
        },
        {
          "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
        }
      ],
      "description": "Specifies the access role for the connector."
    },
    "As2Config": {
      "description": "Configuration for an AS2 connector.",
      "type": "object",
      "properties": {
        "LocalProfileId": {
          "oneOf": [
            {
              "type": "string",
              "pattern": "^p-([0-9a-f]{17})$",
              "minLength": 19,
              "maxLength": 19
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ],
          "description": "A unique identifier for the local profile."
        },
        "PartnerProfileId": {
          "oneOf": [
            {
              "type": "string",
              "pattern": "^p-([0-9a-f]{17})$",
              "minLength": 19,
              "maxLength": 19
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ],
          "description": "A unique identifier for the partner profile."
        },
        "MessageSubject": {
          "oneOf": [
            {
              "type": "string",
              "pattern": "^[\\p{Print}\\p{Blank}]+",
              "minLength": 1,
              "maxLength": 1024
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ],
          "description": "The message subject for this AS2 connector configuration."
        },
        "Compression": {
          "oneOf": [
            {
              "type": "string",
              "enum": [
                "ZLIB",
                "DISABLED"
              ]
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ],
          "description": "Compression setting for this AS2 connector configuration."
        },
        "EncryptionAlgorithm": {
          "oneOf": [
            {
              "type": "string",
              "enum": [
                "AES128_CBC",
                "AES192_CBC",
                "AES256_CBC",
                "NONE"
              ]
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ],
          "description": "Encryption algorithm for this AS2 connector configuration."
        },
        "SigningAlgorithm": {
          "oneOf": [
            {
              "type": "string",
              "enum": [
                "SHA256",
                "SHA384",
                "SHA512",
                "SHA1",
                "NONE"
              ]
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ],
          "description": "Signing algorithm for this AS2 connector configuration."
        },
        "MdnSigningAlgorithm": {
          "oneOf": [
            {
              "type": "string",
              "enum": [
                "SHA256",
                "SHA384",
                "SHA512",
                "SHA1",
                "NONE",
                "DEFAULT"
              ]
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ],
          "description": "MDN Signing algorithm for this AS2 connector configuration."
        },
        "MdnResponse": {
          "oneOf": [
            {
              "type": "string",
              "enum": [
                "SYNC",
                "NONE"
              ]
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ],
          "description": "MDN Response setting for this AS2 connector configuration."
        }
      },
      "additionalProperties": false
    },
    "LoggingRole": {
      "oneOf": [
        {
          "type": "string",
          "pattern": "arn:.*role/.*",
          "minLength": 20,
          "maxLength": 2048
        },
        {
          "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
        }
      ],
      "description": "Specifies the logging role for the connector."
    },
    "Tags": {
      "description": "Key-value pairs that can be used to group and search for workflows. Tags are metadata attached to workflows for any purpose.",
      "type": "array",
      "maxItems": 50,
      "uniqueItems": true,
      "insertionOrder": false,
      "items": {
        "$ref": "#/$defs/Tag"
      }
    },
    "Url": {
      "oneOf": [
        {
          "type": "string",
          "maxLength": 255
        },
        {
          "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
        }
      ],
      "description": "URL for Connector"
    }
  },
  "typeName": "AWS::Transfer::Connector",
  "tagging": {
    "taggable": true,
    "tagOnCreate": true,
    "tagUpdatable": true,
    "cloudFormationSystemTags": true,
    "tagProperty": "/properties/Tags"
  },
  "additionalProperties": false,
  "primaryIdentifier": [
    "/properties/ConnectorId"
  ],
  "$defs": {
    "Tag": {
      "description": "Creates a key-value pair for a specific resource.",
      "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 name assigned to the tag that you create."
        },
        "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": "Contains one or more values that you assigned to the key name you create."
        }
      },
      "required": [
        "Key",
        "Value"
      ],
      "title": "AWSTransferConnectorTagDefinition",
      "additionalProperties": false
    }
  },
  "required": [
    "AccessRole",
    "As2Config",
    "Url"
  ],
  "readOnlyProperties": [
    "/properties/Arn",
    "/properties/ConnectorId"
  ]
}
