aws.emr¶
Resource manager for Elastic MapReduce clusters
Filters¶
Actions¶
terminate¶
Action to terminate EMR cluster(s)
It is recommended to apply a filter to the terminate action to avoid termination of all EMR clusters
- example
policies:
- name: emr-terminate
resource: emr
query:
- ClusterStates: [STARTING, BOOTSTRAPPING, RUNNING, WAITING]
actions:
- terminate
properties:
force:
type: boolean
type:
enum:
- terminate
required:
- type
Permissions - elasticmapreduce:TerminateJobFlows