{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--aws-networkmanager-connectattachment.json",
  "title": "AWSNetworkManagerConnectAttachmentProperties",
  "description": "AWS::NetworkManager::ConnectAttachment Resource Type Definition. Source:- <https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-networkmanager/aws-networkmanager-connectattachment>",
  "x-lintel": {
    "source": "https://raw.githubusercontent.com/lalcebo/json-schema/master/serverless/resources/cloudformation-modified/aws-networkmanager-connectattachment.json",
    "sourceSha256": "0a03fd5b6377b79de7fb183fea2338ba6ba253ff05571955bba97322cd310902"
  },
  "type": "object",
  "properties": {
    "CoreNetworkId": {
      "oneOf": [
        {
          "type": "string"
        },
        {
          "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
        }
      ],
      "description": "ID of the CoreNetwork that the attachment will be attached to."
    },
    "EdgeLocation": {
      "oneOf": [
        {
          "type": "string"
        },
        {
          "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
        }
      ],
      "description": "Edge location of the attachment."
    },
    "ProposedSegmentChange": {
      "description": "The attachment to move from one segment to another.",
      "$ref": "#/$defs/ProposedSegmentChange"
    },
    "Tags": {
      "description": "Tags for the attachment.",
      "type": "array",
      "uniqueItems": true,
      "insertionOrder": false,
      "items": {
        "$ref": "#/$defs/Tag"
      }
    },
    "TransportAttachmentId": {
      "oneOf": [
        {
          "type": "string"
        },
        {
          "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
        }
      ],
      "description": "Id of transport attachment"
    },
    "Options": {
      "description": "Protocol options for connect attachment",
      "$ref": "#/$defs/ConnectAttachmentOptions"
    }
  },
  "typeName": "AWS::NetworkManager::ConnectAttachment",
  "required": [
    "CoreNetworkId",
    "EdgeLocation",
    "TransportAttachmentId",
    "Options"
  ],
  "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-networkmanager/aws-networkmanager-connectattachment",
  "primaryIdentifier": [
    "/properties/AttachmentId"
  ],
  "additionalProperties": false,
  "$defs": {
    "ProposedSegmentChange": {
      "description": "The attachment to move from one segment to another.",
      "type": "object",
      "properties": {
        "Tags": {
          "description": "The list of key-value tags that changed for the segment.",
          "type": "array",
          "uniqueItems": true,
          "insertionOrder": false,
          "items": {
            "$ref": "#/$defs/Tag"
          }
        },
        "AttachmentPolicyRuleNumber": {
          "description": "The rule number in the policy document that applies to this change.",
          "type": "integer"
        },
        "SegmentName": {
          "oneOf": [
            {
              "type": "string"
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ],
          "description": "The name of the segment to change."
        }
      },
      "title": "AWSNetworkManagerConnectAttachmentProposedSegmentChangeDefinition",
      "additionalProperties": false
    },
    "Tag": {
      "description": "A key-value pair to associate with a resource.",
      "type": "object",
      "properties": {
        "Key": {
          "oneOf": [
            {
              "type": "string"
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ],
          "description": "The key name of the tag. You can specify a value that is 1 to 128 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -."
        },
        "Value": {
          "oneOf": [
            {
              "type": "string"
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ],
          "description": "The value for the tag. You can specify a value that is 0 to 256 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -."
        }
      },
      "required": [
        "Key",
        "Value"
      ],
      "title": "AWSNetworkManagerConnectAttachmentTagDefinition",
      "additionalProperties": false
    },
    "ConnectAttachmentOptions": {
      "description": "Connect attachment options for protocol",
      "type": "object",
      "properties": {
        "Protocol": {
          "oneOf": [
            {
              "type": "string"
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ],
          "description": "Tunnel protocol for connect attachment"
        }
      },
      "title": "AWSNetworkManagerConnectAttachmentConnectAttachmentOptionsDefinition",
      "additionalProperties": false
    }
  },
  "tagging": {
    "taggable": true,
    "tagOnCreate": true,
    "tagUpdatable": true,
    "cloudFormationSystemTags": false,
    "tagProperty": "/properties/Tags"
  },
  "readOnlyProperties": [
    "/properties/CoreNetworkArn",
    "/properties/CreatedAt",
    "/properties/UpdatedAt",
    "/properties/AttachmentType",
    "/properties/State",
    "/properties/ResourceArn",
    "/properties/AttachmentId",
    "/properties/OwnerAccountId",
    "/properties/AttachmentPolicyRuleNumber",
    "/properties/SegmentName"
  ],
  "createOnlyProperties": [
    "/properties/CoreNetworkId",
    "/properties/EdgeLocation",
    "/properties/TransportAttachmentId",
    "/properties/Options"
  ]
}
