probeECS

service_is_deploying

Checks to make sure there is not an in-progress deployment

Activity as code

Below are the details and signature of the activity Python module.

Typeprobe
Modulechaosaws.ecs.probes
Nameservice_is_deploying
Returnboolean

Usage

JSON

{
  "name": "service-is-deploying",
  "type": "probe",
  "provider": {
    "type": "python",
    "module": "chaosaws.ecs.probes",
    "func": "service_is_deploying",
    "arguments": {
      "cluster": "",
      "service": ""
    }
  }
}

YAML

name: service-is-deploying
provider:
  arguments:
    cluster: ""
    service: ""
  func: service_is_deploying
  module: chaosaws.ecs.probes
  type: python
type: probe

Arguments

NameTypeDefaultRequiredTitleDescription
clusterstringYesClusterName of the target ECS cluster
servicestringYesServiceName of the target service

Signature

def service_is_deploying(cluster: str,
                         service: str,
                         configuration: Dict[str, Dict[str, str]] = None,
                         secrets: Dict[str, Dict[str, str]] = None) -> bool:
    pass