We recommend new projects start with resources from the AWS provider.
aws-native.emr.Step
Explore with Pulumi AI
We recommend new projects start with resources from the AWS provider.
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)
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:
- Action
On stringFailure - This specifies what action to take when the cluster step fails. Possible values are CANCEL_AND_WAIT and CONTINUE.
- Hadoop
Jar Pulumi.Step Aws Native. Emr. Inputs. Step Hadoop Jar Step Config - 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 stringId - A string that uniquely identifies the cluster (job flow).
- Name string
- The name of the cluster step.
- Action
On stringFailure - This specifies what action to take when the cluster step fails. Possible values are CANCEL_AND_WAIT and CONTINUE.
- Hadoop
Jar StepStep Hadoop Jar Step Config Args - 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 stringId - A string that uniquely identifies the cluster (job flow).
- Name string
- The name of the cluster step.
- action
On StringFailure - This specifies what action to take when the cluster step fails. Possible values are CANCEL_AND_WAIT and CONTINUE.
- hadoop
Jar StepStep Hadoop Jar Step Config - 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 StringId - A string that uniquely identifies the cluster (job flow).
- name String
- The name of the cluster step.
- action
On stringFailure - This specifies what action to take when the cluster step fails. Possible values are CANCEL_AND_WAIT and CONTINUE.
- hadoop
Jar StepStep Hadoop Jar Step Config - 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 stringId - A string that uniquely identifies the cluster (job flow).
- name string
- The name of the cluster step.
- action_
on_ strfailure - This specifies what action to take when the cluster step fails. Possible values are CANCEL_AND_WAIT and CONTINUE.
- hadoop_
jar_ Stepstep Hadoop Jar Step Config Args - 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_ strid - A string that uniquely identifies the cluster (job flow).
- name str
- The name of the cluster step.
- action
On StringFailure - This specifies what action to take when the cluster step fails. Possible values are CANCEL_AND_WAIT and CONTINUE.
- hadoop
Jar Property MapStep - 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 StringId - 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:
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.
- Main
Class 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.
- Step
Properties List<Pulumi.Aws Native. Emr. Inputs. Step Key Value> - 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.
- Main
Class 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.
- Step
Properties []StepKey Value - 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.
- main
Class 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.
- step
Properties List<StepKey Value> - 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.
- main
Class 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.
- step
Properties StepKey Value[] - 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[StepKey Value] - 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.
- main
Class 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.
- step
Properties 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
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
We recommend new projects start with resources from the AWS provider.