AWS
describe_tasks
Returns AWS response describing the tasks for a provided cluster
Sets the maximum healthy count and minimum healthy percentage values for a services deployment configuration
Below are the details and signature of the activity Python module.
Type | action |
Module | chaosaws.ecs.actions |
Name | set_service_deployment_configuration |
Return | mapping |
Usage
JSON
{
"name": "set-service-deployment-configuration",
"type": "action",
"provider": {
"type": "python",
"module": "chaosaws.ecs.actions",
"func": "set_service_deployment_configuration",
"arguments": {
"cluster": "",
"service": ""
}
}
}
YAML
name: set-service-deployment-configuration
provider:
arguments:
cluster: ""
service: ""
func: set_service_deployment_configuration
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 | |
service | string | Yes | Service | Name of the target service | |
maximum_percent | integer | 200 | No | Upper Limit | Number of RUNNING or PENDING tasks upper limit for the service |
minimum_healthy_percent | integer | 100 | No | Lower Limit | Number of RUNNING tasks lower limit for the service |
Signature
def set_service_deployment_configuration(
cluster: str,
service: str,
maximum_percent: int = 200,
minimum_healthy_percent: int = 100,
configuration: Dict[str, Dict[str, str]] = None,
secrets: Dict[str, Dict[str, str]] = None) -> Dict[str, Any]:
pass