{
 "additionalProperties": false,
 "createOnlyProperties": [
  "/properties/CoreNetworkId",
  "/properties/EdgeLocation",
  "/properties/TransportAttachmentId",
  "/properties/Options"
 ],
 "definitions": {
  "ConnectAttachmentOptions": {
   "additionalProperties": false,
   "properties": {
    "Protocol": {
     "type": "string"
    }
   },
   "type": "object"
  },
  "ProposedSegmentChange": {
   "additionalProperties": false,
   "properties": {
    "AttachmentPolicyRuleNumber": {
     "type": "integer"
    },
    "SegmentName": {
     "type": "string"
    },
    "Tags": {
     "insertionOrder": false,
     "items": {
      "$ref": "#/definitions/Tag"
     },
     "type": "array"
    }
   },
   "type": "object"
  },
  "Tag": {
   "additionalProperties": false,
   "properties": {
    "Key": {
     "type": "string"
    },
    "Value": {
     "type": "string"
    }
   },
   "required": [
    "Key",
    "Value"
   ],
   "type": "object"
  }
 },
 "primaryIdentifier": [
  "/properties/AttachmentId"
 ],
 "properties": {
  "AttachmentId": {
   "type": "string"
  },
  "AttachmentPolicyRuleNumber": {
   "type": "integer"
  },
  "AttachmentType": {
   "type": "string"
  },
  "CoreNetworkArn": {
   "type": "string"
  },
  "CoreNetworkId": {
   "maxLength": 50,
   "minLength": 0,
   "pattern": "^core-network-([0-9a-f]{8,17})$",
   "type": "string"
  },
  "CreatedAt": {
   "type": "string"
  },
  "EdgeLocation": {
   "maxLength": 63,
   "minLength": 1,
   "pattern": "^[\\s\\S]*$",
   "type": "string"
  },
  "Options": {
   "$ref": "#/definitions/ConnectAttachmentOptions"
  },
  "OwnerAccountId": {
   "type": "string"
  },
  "ProposedSegmentChange": {
   "$ref": "#/definitions/ProposedSegmentChange"
  },
  "ResourceArn": {
   "type": "string"
  },
  "SegmentName": {
   "type": "string"
  },
  "State": {
   "type": "string"
  },
  "Tags": {
   "insertionOrder": false,
   "items": {
    "$ref": "#/definitions/Tag"
   },
   "type": "array"
  },
  "TransportAttachmentId": {
   "maxLength": 50,
   "minLength": 0,
   "pattern": "^attachment-([0-9a-f]{8,17})$",
   "type": "string"
  },
  "UpdatedAt": {
   "type": "string"
  }
 },
 "readOnlyProperties": [
  "/properties/CoreNetworkArn",
  "/properties/CreatedAt",
  "/properties/UpdatedAt",
  "/properties/AttachmentType",
  "/properties/State",
  "/properties/ResourceArn",
  "/properties/AttachmentId",
  "/properties/OwnerAccountId",
  "/properties/AttachmentPolicyRuleNumber",
  "/properties/ProposedSegmentChange",
  "/properties/SegmentName"
 ],
 "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-networkmanager/aws-networkmanager-connectattachment",
 "tagging": {
  "cloudFormationSystemTags": true,
  "tagOnCreate": true,
  "tagUpdatable": true,
  "taggable": true
 },
 "typeName": "AWS::NetworkManager::ConnectAttachment"
}
