Describes Amazon ECS clusters that are registered with a stack. If you
specify only a stack ID, you can use the
parameters to paginate the response. However, AWS OpsWorks Stacks
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 about user permissions, see Managing User Permissions.
This call accepts only one resource-identifying parameter.
opsworks_describe_ecs_clusters(EcsClusterArns, StackId, NextToken, MaxResults)
A list of ARNs, one for each cluster to be described.
A stack ID.
If the previous paginated request did not return all of the remaining
results, the response object's
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 list with the following syntax:
1 2 3 4 5 6 7 8 9 10 11
1 2 3 4 5 6 7 8
svc$describe_ecs_clusters( EcsClusterArns = list( "string" ), StackId = "string", NextToken = "string", MaxResults = 123 )
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.