probeEMR

list_cluster_fleet_instances

Get a list of instance fleet instances associated with 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-fleet-instances",
  "type": "probe",
  "provider": {
    "type": "python",
    "module": "chaosaws.emr.probes",
    "func": "list_cluster_fleet_instances",
    "arguments": {
      "cluster_id": "",
      "fleet_id": ""
    }
  }
}

YAML

name: list-cluster-fleet-instances
provider:
  arguments:
    cluster_id: ""
    fleet_id: ""
  func: list_cluster_fleet_instances
  module: chaosaws.emr.probes
  type: python
type: probe

Arguments

NameTypeDefaultRequiredTitleDescription
cluster_idstringYesCluster ID
fleet_idstringYesFleet ID
fleet_typestringnullNoFleet Type
instance_stateslistnullNoInstance StatesList of instance states to retrieve

Signature

def list_cluster_fleet_instances(
        cluster_id: str,
        fleet_id: str,
        fleet_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