AWS
describe_tasks
Returns AWS response describing the tasks for a provided cluster
Below are the details and signature of the activity Python module.
Type | action |
Module | chaosaws.ecs.actions |
Name | deregister_container_instance |
Return | mapping |
Usage
JSON
{
"name": "deregister-container-instance",
"type": "action",
"provider": {
"type": "python",
"module": "chaosaws.ecs.actions",
"func": "deregister_container_instance",
"arguments": {
"cluster": "",
"instance_id": ""
}
}
}
YAML
name: deregister-container-instance
provider:
arguments:
cluster: ""
instance_id: ""
func: deregister_container_instance
module: chaosaws.ecs.actions
type: python
type: action
Arguments
Name | Type | Default | Required | Title | Description |
---|---|---|---|---|---|
cluster | string | Yes | Cluster | Name of the target ECS cluster or ARN | |
instance_id | string | Yes | Instance ID / ARN | Instance identifier or ARN | |
force | boolean | false | No | Force | Force unregistering the container instance |
Warning: If using “force”, any task not deleted before deregistration will remain orphaned
Signature
def deregister_container_instance(
cluster: str,
instance_id: str,
force: bool = False,
configuration: Dict[str, Dict[str, str]] = None,
secrets: Dict[str, Dict[str, str]] = None) -> Dict[str, Any]:
pass