ecs:ListServicesByNamespace is a List access-level action in the ecs service. Grants permission to get a list of services that are running in a specified AWS Cloud Map Namespace
This action does not support resource-level permissions; use "Resource": "*" in your policy.
No condition keys are documented for this action.
A minimal policy that allows ecs:ListServicesByNamespace. Replace "Resource": "*" with a specific ARN to follow least privilege.
{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "AllowEcsListServicesByNamespace",
"Effect": "Allow",
"Action": "ecs:ListServicesByNamespace",
"Resource": "*"
}
]
}