{
  "typeName" : "AWS::EC2::TrafficMirrorTarget",
  "description" : "The description of the Traffic Mirror target.",
  "additionalProperties" : false,
  "properties" : {
    "NetworkLoadBalancerArn" : {
      "description" : "The Amazon Resource Name (ARN) of the Network Load Balancer that is associated with the target.",
      "type" : "string"
    },
    "Description" : {
      "description" : "The description of the Traffic Mirror target.",
      "type" : "string"
    },
    "Id" : {
      "type" : "string"
    },
    "NetworkInterfaceId" : {
      "description" : "The network interface ID that is associated with the target.",
      "type" : "string"
    },
    "GatewayLoadBalancerEndpointId" : {
      "description" : "The ID of the Gateway Load Balancer endpoint.",
      "type" : "string"
    },
    "Tags" : {
      "description" : " The tags to assign to the Traffic Mirror target.",
      "type" : "array",
      "uniqueItems" : false,
      "insertionOrder" : false,
      "items" : {
        "$ref" : "#/definitions/Tag"
      }
    }
  },
  "definitions" : {
    "Tag" : {
      "type" : "object",
      "additionalProperties" : false,
      "properties" : {
        "Value" : {
          "type" : "string"
        },
        "Key" : {
          "type" : "string"
        }
      },
      "required" : [ "Value", "Key" ]
    }
  },
  "tagging" : {
    "taggable" : true,
    "tagOnCreate" : true,
    "tagUpdatable" : true,
    "cloudFormationSystemTags" : true,
    "tagProperty" : "/properties/Tags",
    "permissions" : [ "ec2:CreateTags", "ec2:DeleteTags" ]
  },
  "createOnlyProperties" : [ "/properties/GatewayLoadBalancerEndpointId", "/properties/NetworkLoadBalancerArn", "/properties/NetworkInterfaceId", "/properties/Description" ],
  "primaryIdentifier" : [ "/properties/Id" ],
  "readOnlyProperties" : [ "/properties/Id" ],
  "handlers" : {
    "create" : {
      "permissions" : [ "ec2:CreateTrafficMirrorTarget", "ec2:CreateTags" ]
    },
    "read" : {
      "permissions" : [ "ec2:DescribeTrafficMirrorTargets", "ec2:DescribeTags" ]
    },
    "update" : {
      "permissions" : [ "ec2:DescribeTrafficMirrorTargets", "ec2:CreateTags", "ec2:DeleteTags", "ec2:DescribeTags" ]
    },
    "delete" : {
      "permissions" : [ "ec2:DeleteTrafficMirrorTarget", "ec2:DeleteTags" ]
    },
    "list" : {
      "permissions" : [ "ec2:DescribeTrafficMirrorTargets", "ec2:DescribeTags" ]
    }
  }
}