Select your cookie preferences

We use essential cookies and similar tools that are necessary to provide our site and services. We use performance cookies to collect anonymous statistics, so we can understand how customers use our site and make improvements. Essential cookies cannot be deactivated, but you can choose “Customize” or “Decline” to decline performance cookies.

If you agree, AWS and approved third parties will also use cookies to provide useful site features, remember your preferences, and display relevant content, including relevant advertising. To accept or decline all non-essential cookies, choose “Accept” or “Decline.” To make more detailed choices, choose “Customize.”

listClusters - AWS ParallelCluster

listClusters

Retrieve a list of existing clusters.

Request syntax

GET /v3/clusters { "clusterStatus": "string", "nextToken": "string", "region": "string" }

Request body

clusterStatus

Filter by cluster status. The default is all clusters.

Type: string

Valid values: CREATE_IN_PROGRESS | CREATE_FAILED | CREATE_COMPLETE | DELETE_IN_PROGRESS | DELETE_FAILED | UPDATE_IN_PROGRESS | UPDATE_COMPLETE | UPDATE_FAILED

Required: no

nextToken

A token that's used for paginated requests.

Type: string

Required: No

region

The AWS Region of the clusters.

Type: string

Required: No

Response syntax

{ "nextToken": "string", "clusters": [ { "clusterName": "string", "region": "string", "version": "string", "cloudformationStackArn": "string", "cloudformationStackStatus": "CREATE_IN_PROGRESS", "clusterStatus": "CREATE_IN_PROGRESS", "scheduler": { "type": "string", "metadata": { "name": "string", "version": "string" } } } ] }

Response body

clusters
cloudformationStackArn

The Amazon Resource Name (ARN) of the main CloudFormation stack.

Type: string

cloudformationStackStatus

The CloudFormation stack status.

Type: string

Valid values: CREATE_IN_PROGRESS | CREATE_FAILED | CREATE_COMPLETE | ROLLBACK_IN_PROGRESS | ROLLBACK_FAILED | ROLLBACK_COMPLETE | DELETE_IN_PROGRESS | DELETE_FAILED | DELETE_COMPLETE | UPDATE_IN_PROGRESS | UPDATE_COMPLETE_CLEANUP_IN_PROGRESS | UPDATE_COMPLETE | UPDATE_ROLLBACK_IN_PROGRESS | UPDATE_ROLLBACK_FAILED | UPDATE_ROLLBACK_COMPLETE_CLEANUP_IN_PROGRESS | UPDATE_ROLLBACK_COMPLETE

clusterName

The name of the cluster.

Type: string

clusterStatus

The cluster status.

Type: string

Valid values: CREATE_IN_PROGRESS | CREATE_FAILED | CREATE_COMPLETE | DELETE_IN_PROGRESS | DELETE_FAILED | DELETE_COMPLETE | UPDATE_IN_PROGRESS | UPDATE_COMPLETE | UPDATE_FAILED

scheduler
metadata

The scheduler metadata.

name

The name of the scheduler.

Type: string

version

The scheduler version.

Type: string

type

The type of scheduler.

Type: string

region

The AWS Region that the cluster is created in.

Type: string

version

The AWS ParallelCluster version that's used to create the cluster.

Type: string

nextToken

A token that's used for paginated requests.

Type: string

Example

Python

Request

$ list_clusters()

200 Response

{ 'clusters': [ { 'cloudformation_stack_arn': 'arn:aws:cloudformation:us-east-1:123456789012:stack/cluster_name_3x/16b49540-aee5-11ec-8e18-0ac1d712b241', 'cloudformation_stack_status': 'CREATE_COMPLETE', 'cluster_name': 'cluster_name_3x', 'cluster_status': 'CREATE_COMPLETE', 'region': 'us-east-1', 'version': '3.2.1' }, ... ] }

Request

$ list_clusters()

200 Response

{ 'clusters': [ { 'cloudformation_stack_arn': 'arn:aws:cloudformation:us-east-1:123456789012:stack/cluster_name_3x/16b49540-aee5-11ec-8e18-0ac1d712b241', 'cloudformation_stack_status': 'CREATE_COMPLETE', 'cluster_name': 'cluster_name_3x', 'cluster_status': 'CREATE_COMPLETE', 'region': 'us-east-1', 'version': '3.2.1' }, ... ] }
PrivacySite termsCookie preferences
© 2025, Amazon Web Services, Inc. or its affiliates. All rights reserved.