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 (aws#30319)

### Issue # (if applicable)

Closes aws#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 authored and atanaspam committed Jun 3, 2024
1 parent ea0d738 commit be7e355
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 be7e355

Please sign in to comment.