Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

step-functions: AWS Glue Workflows #29001

Open
1 of 2 tasks
Rizxcviii opened this issue Feb 6, 2024 · 1 comment
Open
1 of 2 tasks

step-functions: AWS Glue Workflows #29001

Rizxcviii opened this issue Feb 6, 2024 · 1 comment
Labels
@aws-cdk/aws-stepfunctions Related to AWS StepFunctions effort/medium Medium work item – several days of effort feature-request A feature should be added or improved. p2

Comments

@Rizxcviii
Copy link
Contributor

Describe the feature

Currently, we can make use of CallAwsService, however it would be nice to have a dedicated Construct in place for the Glue Workflow to be used also.

Use Case

If we want to merge both workflows with step functions, this seems to make sense. Glue workflows can very well be easily reproduced to step functions, however some developers may prefer to use them, when wanting to use step functions to manage an overall data pipeline, and use workflows to handle the smaller ETL pipelines.

My specific use case is to trigger a large state machine that will handle multiple smaller glue workflows, reducing cost whilst still maintaining the original data pipeline.

Proposed Solution

Similar to Glue, we could add another construct GlueStartWorkflowRun.

new tasks.GlueStartWorkflowRun(this, 'Task', {
  glueWorkflowName: 'my-glue-job',
  ... //other parameters
});

Other Information

A quick query, more than anything. How are synchronous jobs triggered? For example, glue StartJobRun includes a .sync option, however I was wondering how that is reproduced within the CDK? The only reason I'm asking is the need for whether or not I should include that functionality also in a possible PR if this was to be worked on.

Acknowledgements

  • I may be able to implement this feature request
  • This feature might incur a breaking change

CDK version used

2.126.0

Environment details (OS name and version, etc.)

Windows 11

@Rizxcviii Rizxcviii added feature-request A feature should be added or improved. needs-triage This issue or PR still needs to be triaged. labels Feb 6, 2024
@github-actions github-actions bot added the @aws-cdk/aws-stepfunctions Related to AWS StepFunctions label Feb 6, 2024
@pahud
Copy link
Contributor

pahud commented Feb 8, 2024

Yes this would be awesome! We welcome and appreciate any PR for that.

@pahud pahud added p2 effort/medium Medium work item – several days of effort and removed needs-triage This issue or PR still needs to be triaged. labels Feb 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
@aws-cdk/aws-stepfunctions Related to AWS StepFunctions effort/medium Medium work item – several days of effort feature-request A feature should be added or improved. p2
Projects
None yet
Development

No branches or pull requests

2 participants