Interface CfnStepMixinProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnStepMixinProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.127.0 (build 2117ad5)",
date="2026-03-11T13:19:59.311Z")
@Stability(Stable)
public interface CfnStepMixinProps
extends software.amazon.jsii.JsiiSerializable
Properties for CfnStepPropsMixin.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.cfnpropertymixins.services.emr.*;
CfnStepMixinProps cfnStepMixinProps = CfnStepMixinProps.builder()
.actionOnFailure("actionOnFailure")
.encryptionKeyArn("encryptionKeyArn")
.hadoopJarStep(HadoopJarStepConfigProperty.builder()
.args(List.of("args"))
.jar("jar")
.mainClass("mainClass")
.stepProperties(List.of(KeyValueProperty.builder()
.key("key")
.value("value")
.build()))
.build())
.jobFlowId("jobFlowId")
.logUri("logUri")
.name("name")
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnStepMixinPropsstatic final classAn implementation forCfnStepMixinProps -
Method Summary
Modifier and TypeMethodDescriptionstatic CfnStepMixinProps.Builderbuilder()default StringThis specifies what action to take when the cluster step fails.default StringThe KMS key ARN to encrypt the logs published to the given Amazon S3 destination.default ObjectTheHadoopJarStepConfigproperty type specifies a job flow step consisting of a JAR file whose main function will be executed.default StringA string that uniquely identifies the cluster (job flow).default StringThe Amazon S3 destination URI for log publishing.default StringgetName()The name of the cluster step.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getActionOnFailure
This specifies what action to take when the cluster step fails.Possible values are
CANCEL_AND_WAITandCONTINUE.- See Also:
-
getEncryptionKeyArn
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.
- See Also:
-
getHadoopJarStep
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.
Returns union: either
IResolvableorCfnStepPropsMixin.HadoopJarStepConfigProperty- See Also:
-
getJobFlowId
A string that uniquely identifies the cluster (job flow).- See Also:
-
getLogUri
The Amazon S3 destination URI for log publishing.When omitted, EMR falls back to cluster-level logging behavior.
- See Also:
-
getName
The name of the cluster step.- See Also:
-
builder
- Returns:
- a
CfnStepMixinProps.BuilderofCfnStepMixinProps
-