actionELBv2

deregister_target

Deregisters one random target from target group

Activity as code

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

Typeaction
Modulechaosaws.elbv2.actions
Namederegister_target
Returnmapping

Usage

JSON

{
  "name": "deregister-target",
  "type": "action",
  "provider": {
    "type": "python",
    "module": "chaosaws.elbv2.actions",
    "func": "deregister_target",
    "arguments": {
      "tg_name": ""
    }
  }
}

YAML

name: deregister-target
provider:
  arguments:
    tg_name: ""
  func: deregister_target
  module: chaosaws.elbv2.actions
  type: python
type: action

Arguments

NameTypeDefaultRequiredTitleDescription
tg_namestrYesTarget Group Name

Signature

def deregister_target(
        tg_name: str,
        configuration: Dict[str, Dict[str, str]] = None,
        secrets: Dict[str, Dict[str, str]] = None) -> Dict[str, Any]:
    pass