I have this in my policy to allow only 80 and 443 open to world.
"or": [
{
"Cidr": {
"value": "0.0.0.0/0"
},
"type": "ingress",
"OnlyPorts": [
80,
443
]
},
{
"CidrV6": {
"value": "::/0"
},
"type": "ingress",
"OnlyPorts": [
80,
443
]
}
]
Now, I want to allow only 8080 and 8081 to selected security groups, not for all security groups. Is this possible?