---
type: resource-type
title: Step
description: aws resource type AWS::EMR::Step
name: Step
lexicon: aws
resource_type: AWS::EMR::Step
---
`AWS::EMR::Step`, a resource type of the aws lexicon.

## Properties

- `ActionOnFailure` (`string`, required): This specifies what action to take when the cluster step fails. Possible values are CANCEL_AND_WAIT and CONTINUE.
- `HadoopJarStep` (`Step_HadoopJarStepConfig`, required): The HadoopJarStepConfig property type specifies a job flow step consisting of a JAR file whose main function will be executed. The main function submits a job for the cluster to execute as a step on the master node, and then waits for the job to finish or fail before executing subsequent steps.
- `JobFlowId` (`string`, required): A string that uniquely identifies the cluster (job flow).
- `Name` (`string`, required): The name of the cluster step.
- `EncryptionKeyArn` (`string`, optional): The KMS key ARN to encrypt the logs published to the given Amazon S3 destination. When omitted, EMR falls back to cluster-level logging behavior.
- `Id` (`string`, optional): ID generated by service
- `LogUri` (`string`, optional): The Amazon S3 destination URI for log publishing. When omitted, EMR falls back to cluster-level logging behavior.

## Attributes

- `Id`
