How do you pass special parameters for AWS Glue jobs via AWS CloudFormation

0

When creating a AWS Glue ETL Job with AWS CloudFormation, how do you specify advanced options such as additional JAR's that the job may require, special security configuration parameters for KMS encryption, etc?

AWS
已提問 5 年前檢視次數 1787 次
1 個回答
0
已接受的答案

Hi,

In AWS CloudFormation when using the Resource AWS::Glue::Job under Properties you need to add these advanced parameter in the DefaultArguments section.

            "DefaultArguments": {
            "--TempDir": "s3://aws-glue-temporary-633748029103-eu-west-1/serhat",
            "--class": "GlueApp",
            "--enable-glue-datacatalog": "",
            "--enable-metrics": "",
            "--encryption-type": "sse-s3",
            "--job-bookmark-option": "job-bookmark-enable",
            "--job-language": "scala"
        },

You can find the list of parameters here.

For additional JARS: --extra-jars is the parameter.

For Server Side Encryption: --encryption-type is the parameter.

Hope this helps.

專家
Serhat
已回答 5 年前
AWS
專家
Raphael
已審閱 2 年前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南