AWS
set_service_deployment_configuration
Sets the maximum healthy count and minimum healthy percentage values for a services deployment configuration
Modify the status of an ACTIVE ECS container instance
Below are the details and signature of the activity Python module.
Type | action |
Module | chaosaws.ecs.actions |
Name | update_container_instances_state |
Return | mapping |
Usage
JSON
{
"name": "update-container-instances-state",
"type": "action",
"provider": {
"type": "python",
"module": "chaosaws.ecs.actions",
"func": "update_container_instances_state",
"arguments": {
"cluster": "",
"container_instances": [],
"status": ""
}
}
}
YAML
name: update-container-instances-state
provider:
arguments:
cluster: ""
container_instances: []
status: ""
func: update_container_instances_state
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 | |
container_instances | list | Yes | Instances | List of container instance ID or ARN | |
status | string | Yes | Status | Desired instances state: ACTIVE, RUNNING |
Signature
def update_container_instances_state(
cluster: str,
container_instances: List[str],
status: str,
configuration: Dict[str, Dict[str, str]] = None,
secrets: Dict[str, Dict[str, str]] = None) -> Dict[str, Any]:
pass