AWS
set_service_deployment_configuration
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 | delete_service |
Return | mapping |
Update a given ECS service by updating it to set the desired count of tasks
to 0 then delete it. If not provided, a random one will be picked up
regarding service_pattern
, if provided, so that only service names
matching the pattern would be used. This should be a valid regex.
You can specify a cluster by its ARN identifier or, if not provided, the default cluster will be picked up.
Usage
JSON
{
"name": "delete-service",
"type": "action",
"provider": {
"type": "python",
"module": "chaosaws.ecs.actions",
"func": "delete_service"
}
}
YAML
name: delete-service
provider:
func: delete_service
module: chaosaws.ecs.actions
type: python
type: action
Arguments
Name | Type | Default | Required |
---|---|---|---|
service | string | null | No |
cluster | string | null | No |
service_pattern | string | null | No |
Signature
def delete_service(
service: str = None,
cluster: str = None,
service_pattern: str = None,
configuration: Dict[str, Dict[str, str]] = None,
secrets: Dict[str, Dict[str, str]] = None) -> Dict[str, Any]:
pass