EMR
Clusters, steps, instance groups, instance fleets, bootstrap actions, block-public-access config.
Quick start
import boto3
emr = boto3.client("emr", endpoint_url="http://localhost:4566",
region_name="us-east-1",
aws_access_key_id="test", aws_secret_access_key="test")
emr.run_job_flow(Name="c", ReleaseLabel="emr-6.15.0",
Instances={"MasterInstanceType":"m5.xlarge","SlaveInstanceType":"m5.xlarge",
"InstanceCount":1},
JobFlowRole="r", ServiceRole="s")
Supported operations
22 operations exposed by this service as of MiniStack 1.4.21. Extracted directly from the handler dispatch in the source module.
AddInstanceFleet
AddInstanceGroups
AddJobFlowSteps
AddTags
CancelSteps
DescribeCluster
DescribeStep
GetBlockPublicAccessConfiguration
ListBootstrapActions
ListClusters
ListInstanceFleets
ListInstanceGroups
ListSteps
ModifyCluster
ModifyInstanceFleet
ModifyInstanceGroups
PutBlockPublicAccessConfiguration
RemoveTags
RunJobFlow
SetTerminationProtection
SetVisibleToAllUsers
TerminateJobFlows
CloudFormation
No CloudFormation resource types map to this service yet. Resources can still be created via the SDK or CLI.
Known limitations
- No Hadoop/Spark runs — a cluster lands in WAITING or TERMINATED and steps are created already COMPLETED; there is no live PENDING→RUNNING progression.
Source
ministack/services/emr.py
Read the source to verify the ops list above — dispatch tables and handler functions are the ground truth.