probeEMR

list_cluster_group_instances

Get a list of instance group instances associated to the EMR cluster

Activity as code

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

Typeprobe
Modulechaosaws.emr.probes
Namelist_cluster_fleet_instances
Returnmapping

Usage

JSON

{
  "name": "list-cluster-group-instances",
  "type": "probe",
  "provider": {
    "type": "python",
    "module": "chaosaws.emr.probes",
    "func": "list_cluster_group_instances",
    "arguments": {
      "cluster_id": "",
      "group_id": ""
    }
  }
}

YAML

name: list-cluster-group-instances
provider:
  arguments:
    cluster_id: ""
    group_id: ""
  func: list_cluster_group_instances
  module: chaosaws.emr.probes
  type: python
type: probe

Arguments

NameTypeDefaultRequiredTitleDescription
cluster_idstringYesCluster ID
group_idstringYesGroup ID
group_typestringnullNoGroup Type
instance_stateslistnullNoStatesList of instance states to retrieve

Signature

def list_cluster_group_instances(
        cluster_id: str,
        group_id: str,
        group_type: str = None,
        instance_states: List[str] = None,
        configuration: Dict[str, Dict[str, str]] = None,
        secrets: Dict[str, Dict[str, str]] = None) -> Dict[str, Any]:
    pass