EMR
Clusters, steps, instance groups, instance fleets, studios, security configurations.
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.3.14. 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
- Clusters transition through states but no Hadoop/Spark is actually running.
Source
ministack/services/emr.py:556-616
Read the source to verify the ops list above — dispatch tables and handler functions are the ground truth.