{
 "additionalProperties": false,
 "createOnlyProperties": [
  "/properties/TransitGatewayId",
  "/properties/PeerTransitGatewayId",
  "/properties/PeerRegion",
  "/properties/PeerAccountId"
 ],
 "definitions": {
  "PeeringAttachmentStatus": {
   "additionalProperties": false,
   "properties": {
    "Code": {
     "type": "string"
    },
    "Message": {
     "type": "string"
    }
   },
   "type": "object"
  },
  "Tag": {
   "additionalProperties": false,
   "properties": {
    "Key": {
     "type": "string"
    },
    "Value": {
     "type": "string"
    }
   },
   "type": "object"
  }
 },
 "primaryIdentifier": [
  "/properties/TransitGatewayAttachmentId"
 ],
 "properties": {
  "CreationTime": {
   "format": "date-time",
   "type": "string"
  },
  "PeerAccountId": {
   "type": "string"
  },
  "PeerRegion": {
   "type": "string"
  },
  "PeerTransitGatewayId": {
   "type": "string"
  },
  "State": {
   "type": "string"
  },
  "Status": {
   "$ref": "#/definitions/PeeringAttachmentStatus"
  },
  "Tags": {
   "items": {
    "$ref": "#/definitions/Tag"
   },
   "type": "array"
  },
  "TransitGatewayAttachmentId": {
   "type": "string"
  },
  "TransitGatewayId": {
   "type": "string"
  }
 },
 "readOnlyProperties": [
  "/properties/TransitGatewayAttachmentId",
  "/properties/Status",
  "/properties/State",
  "/properties/CreationTime"
 ],
 "required": [
  "TransitGatewayId",
  "PeerTransitGatewayId",
  "PeerAccountId",
  "PeerRegion"
 ],
 "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-myservice",
 "tagging": {
  "cloudFormationSystemTags": true,
  "tagOnCreate": true,
  "tagProperty": "/properties/Tags",
  "tagUpdatable": true,
  "taggable": true
 },
 "typeName": "AWS::EC2::TransitGatewayPeeringAttachment"
}
