1. Packages
  2. AWS Cloud Control
  3. API Docs
  4. emr
  5. Step

We recommend new projects start with resources from the AWS provider.

AWS Cloud Control v1.28.0 published on Monday, May 19, 2025 by Pulumi

aws-native.emr.Step

Explore with Pulumi AI

aws-native logo

We recommend new projects start with resources from the AWS provider.

AWS Cloud Control v1.28.0 published on Monday, May 19, 2025 by Pulumi

    Schema for AWS::EMR::Step

    Create Step Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new Step(name: string, args: StepArgs, opts?: CustomResourceOptions);
    @overload
    def Step(resource_name: str,
             args: StepArgs,
             opts: Optional[ResourceOptions] = None)
    
    @overload
    def Step(resource_name: str,
             opts: Optional[ResourceOptions] = None,
             action_on_failure: Optional[str] = None,
             hadoop_jar_step: Optional[StepHadoopJarStepConfigArgs] = None,
             job_flow_id: Optional[str] = None,
             name: Optional[str] = None)
    func NewStep(ctx *Context, name string, args StepArgs, opts ...ResourceOption) (*Step, error)
    public Step(string name, StepArgs args, CustomResourceOptions? opts = null)
    public Step(String name, StepArgs args)
    public Step(String name, StepArgs args, CustomResourceOptions options)
    
    type: aws-native:emr:Step
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args StepArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args StepArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args StepArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args StepArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args StepArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Step Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The Step resource accepts the following input properties:

    ActionOnFailure string
    This specifies what action to take when the cluster step fails. Possible values are CANCEL_AND_WAIT and CONTINUE.
    HadoopJarStep Pulumi.AwsNative.Emr.Inputs.StepHadoopJarStepConfig
    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
    A string that uniquely identifies the cluster (job flow).
    Name string
    The name of the cluster step.
    ActionOnFailure string
    This specifies what action to take when the cluster step fails. Possible values are CANCEL_AND_WAIT and CONTINUE.
    HadoopJarStep StepHadoopJarStepConfigArgs
    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
    A string that uniquely identifies the cluster (job flow).
    Name string
    The name of the cluster step.
    actionOnFailure String
    This specifies what action to take when the cluster step fails. Possible values are CANCEL_AND_WAIT and CONTINUE.
    hadoopJarStep StepHadoopJarStepConfig
    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
    A string that uniquely identifies the cluster (job flow).
    name String
    The name of the cluster step.
    actionOnFailure string
    This specifies what action to take when the cluster step fails. Possible values are CANCEL_AND_WAIT and CONTINUE.
    hadoopJarStep StepHadoopJarStepConfig
    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
    A string that uniquely identifies the cluster (job flow).
    name string
    The name of the cluster step.
    action_on_failure str
    This specifies what action to take when the cluster step fails. Possible values are CANCEL_AND_WAIT and CONTINUE.
    hadoop_jar_step StepHadoopJarStepConfigArgs
    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.
    job_flow_id str
    A string that uniquely identifies the cluster (job flow).
    name str
    The name of the cluster step.
    actionOnFailure String
    This specifies what action to take when the cluster step fails. Possible values are CANCEL_AND_WAIT and CONTINUE.
    hadoopJarStep Property Map
    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
    A string that uniquely identifies the cluster (job flow).
    name String
    The name of the cluster step.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the Step resource produces the following output properties:

    AwsId string
    ID generated by service
    Id string
    The provider-assigned unique ID for this managed resource.
    AwsId string
    ID generated by service
    Id string
    The provider-assigned unique ID for this managed resource.
    awsId String
    ID generated by service
    id String
    The provider-assigned unique ID for this managed resource.
    awsId string
    ID generated by service
    id string
    The provider-assigned unique ID for this managed resource.
    aws_id str
    ID generated by service
    id str
    The provider-assigned unique ID for this managed resource.
    awsId String
    ID generated by service
    id String
    The provider-assigned unique ID for this managed resource.

    Supporting Types

    StepHadoopJarStepConfig, StepHadoopJarStepConfigArgs

    Jar string
    A path to a JAR file run during the step.
    Args List<string>
    A list of command line arguments passed to the JAR file's main function when executed.
    MainClass string
    The name of the main class in the specified Java file. If not specified, the JAR file should specify a Main-Class in its manifest file.
    StepProperties List<Pulumi.AwsNative.Emr.Inputs.StepKeyValue>
    A list of Java properties that are set when the step runs. You can use these properties to pass key value pairs to your main function.
    Jar string
    A path to a JAR file run during the step.
    Args []string
    A list of command line arguments passed to the JAR file's main function when executed.
    MainClass string
    The name of the main class in the specified Java file. If not specified, the JAR file should specify a Main-Class in its manifest file.
    StepProperties []StepKeyValue
    A list of Java properties that are set when the step runs. You can use these properties to pass key value pairs to your main function.
    jar String
    A path to a JAR file run during the step.
    args List<String>
    A list of command line arguments passed to the JAR file's main function when executed.
    mainClass String
    The name of the main class in the specified Java file. If not specified, the JAR file should specify a Main-Class in its manifest file.
    stepProperties List<StepKeyValue>
    A list of Java properties that are set when the step runs. You can use these properties to pass key value pairs to your main function.
    jar string
    A path to a JAR file run during the step.
    args string[]
    A list of command line arguments passed to the JAR file's main function when executed.
    mainClass string
    The name of the main class in the specified Java file. If not specified, the JAR file should specify a Main-Class in its manifest file.
    stepProperties StepKeyValue[]
    A list of Java properties that are set when the step runs. You can use these properties to pass key value pairs to your main function.
    jar str
    A path to a JAR file run during the step.
    args Sequence[str]
    A list of command line arguments passed to the JAR file's main function when executed.
    main_class str
    The name of the main class in the specified Java file. If not specified, the JAR file should specify a Main-Class in its manifest file.
    step_properties Sequence[StepKeyValue]
    A list of Java properties that are set when the step runs. You can use these properties to pass key value pairs to your main function.
    jar String
    A path to a JAR file run during the step.
    args List<String>
    A list of command line arguments passed to the JAR file's main function when executed.
    mainClass String
    The name of the main class in the specified Java file. If not specified, the JAR file should specify a Main-Class in its manifest file.
    stepProperties List<Property Map>
    A list of Java properties that are set when the step runs. You can use these properties to pass key value pairs to your main function.

    StepKeyValue, StepKeyValueArgs

    Key string
    The unique identifier of a key-value pair.
    Value string
    The value part of the identified key.
    Key string
    The unique identifier of a key-value pair.
    Value string
    The value part of the identified key.
    key String
    The unique identifier of a key-value pair.
    value String
    The value part of the identified key.
    key string
    The unique identifier of a key-value pair.
    value string
    The value part of the identified key.
    key str
    The unique identifier of a key-value pair.
    value str
    The value part of the identified key.
    key String
    The unique identifier of a key-value pair.
    value String
    The value part of the identified key.

    Package Details

    Repository
    AWS Native pulumi/pulumi-aws-native
    License
    Apache-2.0
    aws-native logo

    We recommend new projects start with resources from the AWS provider.

    AWS Cloud Control v1.28.0 published on Monday, May 19, 2025 by Pulumi