Returns a list of container instances in a specified cluster. You can filter the results of a <code>ListContainerInstances</code> operation with cluster query language statements inside the <code>filter</code> parameter. For more information, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/cluster-query-language.html">Cluster Query Language</a> in the <i>Amazon Elastic Container Service Developer Guide</i>.
post/#X-Amz-Target=AmazonEC2ContainerServiceV20141113.ListContainerInstances
Query parameters
maxResultsstring
Pagination limit
nextTokenstring
Pagination token
Headers
X-Amz-Target'AmazonEC2ContainerServiceV20141113.ListContainerInstances' required
Request body
Response
Success
Example response
{
"containerInstanceArns": [
"arn:aws:ecs:us-east-1:<aws_account_id>:container-instance/f6bbb147-5370-4ace-8c73-c7181ded911f",
"arn:aws:ecs:us-east-1:<aws_account_id>:container-instance/ffe3d344-77e2-476c-a4d0-bf560ad50acb"
]
}