Class CfnStepPropsMixin.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.emr.CfnStepPropsMixin.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnStepPropsMixin>
- Enclosing class:
CfnStepPropsMixin
@Stability(Stable)
public static final class CfnStepPropsMixin.Builder
extends Object
implements software.amazon.jsii.Builder<CfnStepPropsMixin>
A fluent builder for
CfnStepPropsMixin.-
Method Summary
Modifier and TypeMethodDescriptionactionOnFailure(String actionOnFailure) This specifies what action to take when the cluster step fails.build()static CfnStepPropsMixin.Buildercreate()static CfnStepPropsMixin.Buildercreate(CfnPropertyMixinOptions options) encryptionKeyArn(String encryptionKeyArn) The KMS key ARN to encrypt the logs published to the given Amazon S3 destination.hadoopJarStep(CfnStepPropsMixin.HadoopJarStepConfigProperty hadoopJarStep) TheHadoopJarStepConfigproperty type specifies a job flow step consisting of a JAR file whose main function will be executed.hadoopJarStep(IResolvable hadoopJarStep) TheHadoopJarStepConfigproperty type specifies a job flow step consisting of a JAR file whose main function will be executed.A string that uniquely identifies the cluster (job flow).The Amazon S3 destination URI for log publishing.The name of the cluster step.
-
Method Details
-
create
- Parameters:
options- Mixin options.- Returns:
- a new instance of
CfnStepPropsMixin.Builder.
-
create
- Returns:
- a new instance of
CfnStepPropsMixin.Builder.
-
actionOnFailure
This specifies what action to take when the cluster step fails.Possible values are
CANCEL_AND_WAITandCONTINUE.- Parameters:
actionOnFailure- This specifies what action to take when the cluster step fails. This parameter is required.- Returns:
this- See Also:
-
encryptionKeyArn
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.
- Parameters:
encryptionKeyArn- The KMS key ARN to encrypt the logs published to the given Amazon S3 destination. This parameter is required.- Returns:
this- See Also:
-
hadoopJarStep
TheHadoopJarStepConfigproperty 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.
- Parameters:
hadoopJarStep- TheHadoopJarStepConfigproperty type specifies a job flow step consisting of a JAR file whose main function will be executed. This parameter is required.- Returns:
this- See Also:
-
hadoopJarStep
@Stability(Stable) public CfnStepPropsMixin.Builder hadoopJarStep(CfnStepPropsMixin.HadoopJarStepConfigProperty hadoopJarStep) TheHadoopJarStepConfigproperty 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.
- Parameters:
hadoopJarStep- TheHadoopJarStepConfigproperty type specifies a job flow step consisting of a JAR file whose main function will be executed. This parameter is required.- Returns:
this- See Also:
-
jobFlowId
A string that uniquely identifies the cluster (job flow).- Parameters:
jobFlowId- A string that uniquely identifies the cluster (job flow). This parameter is required.- Returns:
this- See Also:
-
logUri
The Amazon S3 destination URI for log publishing.When omitted, EMR falls back to cluster-level logging behavior.
- Parameters:
logUri- The Amazon S3 destination URI for log publishing. This parameter is required.- Returns:
this- See Also:
-
name
The name of the cluster step.- Parameters:
name- The name of the cluster step. This parameter is required.- Returns:
this- See Also:
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnStepPropsMixin>- Returns:
- a newly built instance of
CfnStepPropsMixin.
-