Using emr boto3 in aws lambda can I retrieve the list of clusters which have the autoscaling parameter setup or not? If its possible then which boto3 client should be used from this link. https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/emr.html#client
1 Answers
0
votes
Autoscaling is set on instance groups, not on clusters.
If you want to see all the instance groups' autoscaling policies, you will first need to get the list of all clusters and then get the instance groups of each cluster.
Notice that in the response to get_instance_groups
, you get the AutoScalingPolicy
value.