Skip to content

Commit

Permalink
feat(stepfunctions-tasks): add workerType and numberOfWorkers to Glue…
Browse files Browse the repository at this point in the history
…StartJobRun class (#30319)

### Issue # (if applicable)

Closes #12757.

### Reason for this change
Missing property


### Description of changes
Add workerType and numberOfWorkers to GlueStartJobRun class.

The reasons for this change are as follows:

* AllocatedCapacity is deprecated.
* MaxCapacity can only be used with Glue version 1 and earlier, which have already reached end of support (EOS).
* Glue version 2 and later use WorkerType and NumberOfWorkers.

For mor information, see also the documents below.

https://docs.aws.amazon.com/glue/latest/dg/aws-glue-api-jobs-runs.html#aws-glue-api-jobs-runs-StartJobRun

https://docs.aws.amazon.com/glue/latest/dg/glue-version-support-policy.html




### Description of how you validated changes
Add unit tests and integ tests.



### Checklist
- [x] My code adheres to the [CONTRIBUTING GUIDE](https://github.com/aws/aws-cdk/blob/main/CONTRIBUTING.md) and [DESIGN GUIDELINES](https://github.com/aws/aws-cdk/blob/main/docs/DESIGN_GUIDELINES.md)

----

*By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
  • Loading branch information
mazyu36 committed May 27, 2024
1 parent ede0917 commit b17dfe7
Show file tree
Hide file tree
Showing 14 changed files with 34,052 additions and 3 deletions.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit b17dfe7

Please sign in to comment.