OpsWorks / Client / deregister_ecs_cluster

deregister_ecs_cluster#

OpsWorks.Client.deregister_ecs_cluster(**kwargs)#

Deregisters a specified Amazon ECS cluster from a stack. For more information, see Resource Management.

Required Permissions: To use this action, an IAM user must have a Manage permissions level for the stack or an attached policy that explicitly grants permissions. For more information on user permissions, see https://docs.aws.amazon.com/opsworks/latest/userguide/opsworks-security-users.html.

See also: AWS API Documentation

Request Syntax

response = client.deregister_ecs_cluster(
    EcsClusterArn='string'
)
Parameters:

EcsClusterArn (string) –

[REQUIRED]

The cluster’s Amazon Resource Number (ARN).

Returns:

None

Exceptions

  • OpsWorks.Client.exceptions.ValidationException

  • OpsWorks.Client.exceptions.ResourceNotFoundException