On the AWS cloudformation I have to create a task definition for ECS cluster. How can I specify UDP and TCP port on the Portmapping? I tried like this, but not working
"PortMappings": [
{
"ContainerPort": 8500,
"HostPort": 8500,
"Protocol": "TCP"
},
{
"ContainerPort": 8500,
"HostPort": 8500,
"Protocol": "UDP"
}]