{
 "additionalProperties": false,
 "definitions": {
  "Tag": {
   "additionalProperties": false,
   "properties": {
    "Key": {
     "type": "string"
    },
    "Value": {
     "type": "string"
    }
   },
   "required": [
    "Key",
    "Value"
   ],
   "type": "object"
  },
  "TrafficMirrorSessionField": {
   "enum": [
    "packet-length",
    "description",
    "virtual-network-id"
   ],
   "type": "string"
  }
 },
 "primaryIdentifier": [
  "/properties/Id"
 ],
 "properties": {
  "Description": {
   "type": "string"
  },
  "Id": {
   "type": "string"
  },
  "NetworkInterfaceId": {
   "type": "string"
  },
  "OwnerId": {
   "type": "string"
  },
  "PacketLength": {
   "type": "integer"
  },
  "SessionNumber": {
   "type": "integer"
  },
  "Tags": {
   "insertionOrder": false,
   "items": {
    "$ref": "#/definitions/Tag"
   },
   "type": "array",
   "uniqueItems": false
  },
  "TrafficMirrorFilterId": {
   "type": "string"
  },
  "TrafficMirrorTargetId": {
   "type": "string"
  },
  "VirtualNetworkId": {
   "type": "integer"
  }
 },
 "readOnlyProperties": [
  "/properties/Id"
 ],
 "required": [
  "NetworkInterfaceId",
  "TrafficMirrorFilterId",
  "SessionNumber",
  "TrafficMirrorTargetId"
 ],
 "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-ec2-tm.git",
 "tagging": {
  "cloudFormationSystemTags": true,
  "tagOnCreate": true,
  "tagProperty": "/properties/Tags",
  "tagUpdatable": true,
  "taggable": true
 },
 "typeName": "AWS::EC2::TrafficMirrorSession"
}
