actionEMR

modify_cluster

Set the step concurrency level on the provided cluster

Activity as code

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

Typeaction
Modulechaosaws.emr.actions
Namemodify_cluster
Returnmapping

Usage

JSON

{
  "name": "modify-cluster",
  "type": "action",
  "provider": {
    "type": "python",
    "module": "chaosaws.emr.actions",
    "func": "modify_cluster",
    "arguments": {
      "cluster_id": "",
      "concurrency": 0
    }
  }
}

YAML

name: modify-cluster
provider:
  arguments:
    cluster_id: ""
    concurrency: 0
  func: modify_cluster
  module: chaosaws.emr.actions
  type: python
type: action

Arguments

NameTypeDefaultRequiredTitleDescription
cluster_idstringYesCluster ID
concurrencyintegerYesConcurrencyHow many steps can be done concurrently (1 - 256)

Signature

def modify_cluster(
        cluster_id: str,
        concurrency: int,
        configuration: Dict[str, Dict[str, str]] = None,
        secrets: Dict[str, Dict[str, str]] = None) -> Dict[str, Any]:
    pass