AWS::EC2::Route - AWS CloudFormation

You must specify either a destination CIDR block or prefix list ID. You must also specify exactly one of the resources as the target.