enhancementgood first issuehelp wanted
描述
Is your idea related to a problem? Please describe.
Currently the API emr.create_cluster only offer simple bootstraps_paths parameters, which not allow client to add additional arguments for the bootstrap scripts. This is limited the re-use-ablity of the scripts.
Describe the solution you'd like
Please to have a pull request to enhance this, by pass a List[Union[str, dict[str, any]]] which can support both cases
- current sample list of bootstrap uri list
- the following bootstrap configurations with additional arguments, this will align with https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/emr/client/run_job_flow.html
{
"name": "install CW agent",
"path": "s3//example-bucket/emr-boostraps/install-cw.sh",
"args": ["--target-aws-account", "121213", ... ],
}
P.S. Please do not attach files as it's considered a security risk. Add code snippets directly in the message body as much as possible.