从 AWS Step Functions 创建 EMR 集群时添加 Bootstrap 操作

Add Bootstrap Actions while creating EMR cluster from AWS Step Functions

我正在使用以下代码从 Step Functions 创建 EMR 集群,

 "spinning_emr_cluster": {
      "Type": "Task",
      "Resource": "arn:aws:states:::elasticmapreduce:createCluster.sync",
      "Parameters": {
        "Name": "CombineFiles",
        "VisibleToAllUsers": true,
        "ReleaseLabel": "emr-5.29.0",
        "Applications": [
          {
            "Name": "Spark"
          }
        ],
        "ServiceRole": "EMR_DefaultRole",
        "JobFlowRole": "EMR_EC2_DefaultRole",
        "LogUri": "s3://awsmssqltos3/emr_logs/",
        "Instances": {
          "KeepJobFlowAliveWhenNoSteps": true,
          "InstanceFleets": [
            {
              "Name": "Master",
              "InstanceFleetType": "MASTER",
              "TargetOnDemandCapacity": 1,
              "InstanceTypeConfigs": [
                {
                  "InstanceType": "m1.large"
                }
              ]
            },
            {
              "Name": "Slave",
              "InstanceFleetType": "CORE",
              "TargetOnDemandCapacity": 1,
              "InstanceTypeConfigs": [
                {
                  "InstanceType": "m1.large"
                }
              ]
            }
          ]
        }
      },
      "ResultPath": "$.CreateClusterResult",
      "Next": "lambda"

我想在从 AWS Step Functions 创建集群时添加 bootstrap 操作。我试过在线搜索但找不到任何语法。

        "BootstrapActions": [
      {
        "Name": "CustomBootStrapAction",
        "ScriptBootstrapAction": {
          "Path": "",
          "Args": []
        }
      }
    ]

请在参数块中添加以上代码。