{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--aws-transfer-profile.json",
  "title": "AWSTransferProfileProperties",
  "description": "Resource Type definition for AWS::Transfer::Profile. 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-profile.json",
    "sourceSha256": "f8acb28ea250012dc7bf8d10b4601c31cce70790d13f681d7bdb202f4c36a46f"
  },
  "type": "object",
  "properties": {
    "As2Id": {
      "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": "AS2 identifier agreed with a trading partner."
    },
    "ProfileType": {
      "oneOf": [
        {
          "type": "string",
          "enum": [
            "LOCAL",
            "PARTNER"
          ]
        },
        {
          "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
        }
      ],
      "description": "Enum specifying whether the profile is local or associated with a trading partner."
    },
    "Tags": {
      "description": "An array of key-value pairs to apply to this resource.",
      "type": "array",
      "uniqueItems": true,
      "maxItems": 50,
      "insertionOrder": false,
      "items": {
        "$ref": "#/$defs/Tag"
      }
    },
    "CertificateIds": {
      "description": "List of the certificate IDs associated with this profile to be used for encryption and signing of AS2 messages.",
      "type": "array",
      "insertionOrder": false,
      "items": {
        "$ref": "#/$defs/CertificateId"
      }
    }
  },
  "typeName": "AWS::Transfer::Profile",
  "tagging": {
    "taggable": true,
    "tagOnCreate": true,
    "tagUpdatable": true,
    "cloudFormationSystemTags": true,
    "tagProperty": "/properties/Tags"
  },
  "additionalProperties": false,
  "createOnlyProperties": [
    "/properties/ProfileType"
  ],
  "$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": "AWSTransferProfileTagDefinition",
      "additionalProperties": false
    },
    "CertificateId": {
      "oneOf": [
        {
          "type": "string",
          "pattern": "^cert-([0-9a-f]{17})$",
          "minLength": 22,
          "maxLength": 22
        },
        {
          "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
        }
      ],
      "description": "A unique identifier for the certificate.",
      "title": "AWSTransferProfileCertificateIdDefinition"
    }
  },
  "required": [
    "As2Id",
    "ProfileType"
  ],
  "readOnlyProperties": [
    "/properties/Arn",
    "/properties/ProfileId"
  ],
  "primaryIdentifier": [
    "/properties/ProfileId"
  ]
}
