AWS SDK Version 2 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

.NET Framework 4.5
Container for the parameters to the DescribeEcsClusters operation. Describes Amazon ECS clusters that are registered with a stack. If you specify only a stack ID, you can use the MaxResults and NextToken parameters to paginate the response. However, AWS OpsWorks currently supports only one cluster per layer, so the result set has a maximum of one element.

Required Permissions: To use this action, an IAM user must have a Show, Deploy, or Manage permissions level for the stack or an attached policy that explicitly grants permission. For more information on user permissions, see Managing User Permissions.

Inheritance Hierarchy


Namespace: Amazon.OpsWorks.Model
Assembly: AWSSDK.dll
Version: (assembly version)


public class DescribeEcsClustersRequest : AmazonOpsWorksRequest

The DescribeEcsClustersRequest type exposes the following members



Public Property EcsClusterArns System.Collections.Generic.List<System.String> Gets and sets the property EcsClusterArns.

A list of ARNs, one for each cluster to be described.

Public Property MaxResults System.Int32 Gets and sets the property MaxResults.

To receive a paginated response, use this parameter to specify the maximum number of results to be returned with a single call. If the number of available results exceeds this maximum, the response includes a NextToken value that you can assign to the NextToken request parameter to get the next set of results.

Public Property NextToken System.String Gets and sets the property NextToken.

If the previous paginated request did not return all of the remaining results, the response object'sNextToken parameter value is set to a token. To retrieve the next set of results, call DescribeEcsClusters again and assign that token to the request object's NextToken parameter. If there are no remaining results, the previous response object's NextToken parameter is set to null.

Public Property StackId System.String Gets and sets the property StackId.

A stack ID. DescribeEcsClusters returns a description of the cluster that is registered with the stack.

Version Information

.NET Framework:
Supported in: 4.5, 4.0, 3.5

.NET for Windows Store apps:
Supported in: Windows 8