简体   繁体   中英

Enable autoscaling feature for AWS Glue Jobs using AWS CloudFormation

Very recently AWS announced an autoscaling feature for Glue ETL and streaming jobs. I've seen today that the region I'm currently working in is now supporting this feature.

I can confirm that this is working using the console, as described in the documentation .

I was wondering if this could already be enabled using CloudFormation. In the CloudFormation documentation I don't see any settings that could enable this feature.

I'm guessing that this will only be available once the feature is out of preview mode, but I'm not 100% sure. Does anyone know more about this? Or can someone confirm my presumption?

Looks like you can just pass the right argument to the job to enable autoscaling, without having to wait on any resource updates.

Here is an example to enable bookmarks from the documentation, you should be able to pass "--enable-auto-scaling": "true" instead.

DefaultArguments: "--job-bookmark-option": "job-bookmark-enable"

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM