How to create script for AWS Glue Job using CloudFormation Template

2.5k Views Asked by At

I am trying to write a CloudFormation template for glue job. I see that there is no option available in official documentation to use apply mapping feature just like we see in the console. How can we use the same feature in our template? I know that AWS can automatically generate a script for us when we create a job using console, I want to know if AWS will generate the script for us when we create glue job using CloudFormation template? If yes, then how can I generate the script? Please help.

1

There are 1 best solutions below

2
On

I used to write CFN Templates in the past too and considered this sometimes as a hard job. In my experiance I've learned to go trough the required parameters from the CFN Doc (here GlueJob) and try to implement them. When I had no idea on how to do that I just used the GitHub search function and looked up how others did that. That is exactly what I recommend You here. Have a look on these search results. Maybe You find some samples helpful for Your usecase: