Skip to content

Instantly share code, notes, and snippets.

import boto3
connection = boto3.client(
'emr',
region_name='us-east-1',
aws_access_key_id='YOUR ACCESS KEY',
ws_secret_access_key='YOUR SECRET KEY',
)
cluster_id = 'give the cluster id'